Skip to main content

eth_getRawTransactionByHash RPC Method

Returns the raw transaction data for a transaction hash.

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