Skip to main content

eth_getRawTransactionByHash RPC Method

Returns the raw transaction data for a transaction hash.

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