Skip to main content

eth_getTransactionByHash RPC Method

Loading...

Updated on
Feb 11, 2026

Parameters

hash
string
REQUIRED
Loading...

Returns

object
object | null
Loading...
blockHash
string | null
Loading...
blockNumber
string | null
Loading...
from
string
Loading...
gas
string
Loading...
gasPrice
string
Loading...
maxFeePerGas
string
Loading...
maxPriorityFeePerGas
string
Loading...
hash
string
Loading...
input
string
Loading...
nonce
string
Loading...
to
string | null
Loading...
transactionIndex
string | null
Loading...
value
string
Loading...
type
string
Loading...
accessList
array
Loading...
chainId
string
Loading...
yParity
string
Loading...
v
string
Loading...
r
string
Loading...
s
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0xb6df1ad6902ef9f5e23e215d883c8ea59890601f55083a78bd615a4bc4dbcbb5",
6
"blockNumber": "0x2ef7cae",
7
"from": "0x78ab8d09ddde87a2b247c7deececf9badc4b6bea",
8
"gas": "0xfc5b2",
9
"gasPrice": "0x5f5e100",
10
"maxFeePerGas": "0x5f5e100",
11
"maxPriorityFeePerGas": "0x0",
12
"hash": "0x3c9329b765d88c03d18f87dc1f2b5138c89d9a415d5c73dc7827b87aca176c8e",
13
"input": "0x1114cd2a000000000000000000000000000000000000000000000000000000000000006f00000000000000000000000078ab8d09ddde87a2b247c7deececf9badc4b6bea00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000640b5eece0000000000000000000000000000000000000000000000000000000638b505ee400000000000000000000000000000000000000000000000000000000000000001478ab8d09ddde87a2b247c7deececf9badc4b6bea000000000000000000000000",
14
"nonce": "0x19",
15
"to": "0xbf22f0f184bccbea268df387a49ff5238dd23e40",
16
"transactionIndex": "0x1",
17
"value": "0x2466b3700fe13",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0xa4b1",
21
"v": "0x1",
22
"r": "0x1c81639a7f422d16972f14fdb994d0d963013bb1e6c379b1d7ace45ada71054",
23
"s": "0x28c8e962e8d0a0c5f8d755c34b8086158b8aa2f6e195e4219b12cf74d6bc6498",
24
"yParity": "0x1"
25
}
26
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0xb6df1ad6902ef9f5e23e215d883c8ea59890601f55083a78bd615a4bc4dbcbb5",
6
"blockNumber": "0x2ef7cae",
7
"from": "0x78ab8d09ddde87a2b247c7deececf9badc4b6bea",
8
"gas": "0xfc5b2",
9
"gasPrice": "0x5f5e100",
10
"maxFeePerGas": "0x5f5e100",
11
"maxPriorityFeePerGas": "0x0",
12
"hash": "0x3c9329b765d88c03d18f87dc1f2b5138c89d9a415d5c73dc7827b87aca176c8e",
13
"input": "0x1114cd2a000000000000000000000000000000000000000000000000000000000000006f00000000000000000000000078ab8d09ddde87a2b247c7deececf9badc4b6bea00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000640b5eece0000000000000000000000000000000000000000000000000000000638b505ee400000000000000000000000000000000000000000000000000000000000000001478ab8d09ddde87a2b247c7deececf9badc4b6bea000000000000000000000000",
14
"nonce": "0x19",
15
"to": "0xbf22f0f184bccbea268df387a49ff5238dd23e40",
16
"transactionIndex": "0x1",
17
"value": "0x2466b3700fe13",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0xa4b1",
21
"v": "0x1",
22
"r": "0x1c81639a7f422d16972f14fdb994d0d963013bb1e6c379b1d7ace45ada71054",
23
"s": "0x28c8e962e8d0a0c5f8d755c34b8086158b8aa2f6e195e4219b12cf74d6bc6498",
24
"yParity": "0x1"
25
}
26
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free