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