Skip to main content

eth_getRawTransactionByBlockNumberAndIndex RPC Method

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

Updated on
Oct 15, 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": 3,
4
"result": "0x6af88a830185d9b8846bf6a42d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003fe240a000000000000000000000000000000000000000000000000000000000092c2100000000000000000000000000000000000000000000000000000000000000000"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 3,
4
"result": "0x6af88a830185d9b8846bf6a42d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003fe240a000000000000000000000000000000000000000000000000000000000092c2100000000000000000000000000000000000000000000000000000000000000000"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free