Skip to main content

eth_getRawTransactionByHash RPC Method

Returns the raw transaction data for a transaction hash.

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