Skip to main content

eth_getRawTransactionByBlockNumberAndIndex RPC Method

Returns the RLP-encoded transaction at the specified block and index.

Updated on
Dec 02, 2026

Parameters

blockNumber
string
REQUIRED

A hexadecimal block number or block tag such as latest

transactionIndex
string
REQUIRED

The index of the transaction in the block, encoded as hexadecimal

Returns

result
string

The RLP-encoded transaction, or null if no transaction matches

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xf9012e8237328410736d0083035f3094d8f7f342b5d6dd83b7f97148b374f1588ef490ae80b8c43161b7f6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000065000000000000000000000000000000000000000000001f7dcd6b7a8115dc401900000000000000000000000000000000000000000000000000000000027df23e000000000000000000000000000000000000000000000000000000000000000c830101f7a0b50e26dcefdf8135c4c4dcca543bc9097b794572cfeb54d32697a1579d46e4d7a00913a25cbb5ed6298a6dad381a9bcdcc3c42dab1e0f341f3aeec79145bdb968d"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xf9012e8237328410736d0083035f3094d8f7f342b5d6dd83b7f97148b374f1588ef490ae80b8c43161b7f6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000065000000000000000000000000000000000000000000001f7dcd6b7a8115dc401900000000000000000000000000000000000000000000000000000000027df23e000000000000000000000000000000000000000000000000000000000000000c830101f7a0b50e26dcefdf8135c4c4dcca543bc9097b794572cfeb54d32697a1579d46e4d7a00913a25cbb5ed6298a6dad381a9bcdcc3c42dab1e0f341f3aeec79145bdb968d"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free