Base API method eth_getRawTransactionByBlockHashAndIndex
retrieves the raw transaction data as a hexadecimal string for a transaction in a specific block, identified by the block hash and the transaction’s index position within that block. This method is useful for obtaining the complete transaction data, including its signature, without needing the transaction hash.
Get you own node endpoint today
Start 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.
blockHash
— the hash of the block containing the transaction.transactionIndex
— the index position of the transaction in the block, specified as a hexadecimal. The example uses "0x1"
.result
— the raw transaction data as a hexadecimal string.The eth_getRawTransactionByBlockHashAndIndex
method is essential for:
Raw transaction data for the given block hash and index
The response is of type object
.
Base API method eth_getRawTransactionByBlockHashAndIndex
retrieves the raw transaction data as a hexadecimal string for a transaction in a specific block, identified by the block hash and the transaction’s index position within that block. This method is useful for obtaining the complete transaction data, including its signature, without needing the transaction hash.
Get you own node endpoint today
Start 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.
blockHash
— the hash of the block containing the transaction.transactionIndex
— the index position of the transaction in the block, specified as a hexadecimal. The example uses "0x1"
.result
— the raw transaction data as a hexadecimal string.The eth_getRawTransactionByBlockHashAndIndex
method is essential for:
Raw transaction data for the given block hash and index
The response is of type object
.