eth_getTransactionByBlockHashAndIndex
Transactions info | Monad
eth_getTransactionByBlockHashAndIndex | Monad
Monad API method that returns information about a transaction by block hash and transaction index position. Chainstack Monad reference.
POST
eth_getTransactionByBlockHashAndIndex
Monad API method that returns information about a transaction by block hash and transaction index position. This method allows you to retrieve a specific transaction from a block when you know both the block hash and the transaction’s position within that block.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
data— the 32-byte hash of the block.quantity— the transaction index position within the block, encoded as hexadecimal.
Response
result— the transaction object, ornullwhen no transaction was found:blockHash— hash of the block containing this transactionblockNumber— number of the block containing this transactionfrom— address of the sendergas— gas provided by the sendergasPrice— gas price in weihash— hash of the transactioninput— the data sent along with the transactionnonce— number of transactions made by the senderto— address of the receivertransactionIndex— integer of the transaction’s index positionvalue— value transferred in weiv,r,s— signature values
eth_getTransactionByBlockHashAndIndex code examples
Use case
A practical use case foreth_getTransactionByBlockHashAndIndex is iterating through all transactions in a block when analyzing block contents, or retrieving specific transactions based on their execution order.Last modified on May 18, 2026