Skip to main content

eth_getRawTransactionByHash RPC Method

Returns the raw transaction data for a transaction hash.

Updated on
Mar 27, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

result
string

The raw transaction data as a hex string, or null if no transaction is found.

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