Skip to main content

eth_getRawTransactionByHash RPC Method

Returns the raw transaction data for a transaction hash.

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