eth_getTransactionByBlockHashAndIndex - Berachain

The eth_getTransactionByBlockHashAndIndex is an Berachain JSON-RPC method that allows you to fetch the transaction details based on the block hash and the index of the transaction within that block. This method can be useful when you want to retrieve transaction details for a specific transaction without knowing its transaction hash.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
params
array of strings
length between 2 and 2
Defaults to 0xbf06c77f6ed9a65441795eb8c2ccd694b3fc9b4d1be6066bf7ed52c73c5ec97c,0x64
  1. String - 32 Bytes - Hash of a block
  2. String - Integer of the transaction index position (in hex).
params
string
Defaults to eth_getTransactionByBlockHashAndIndex
Response

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json