Skip to main content

eth_getTransactionByHash RPC Method

Loading...

Updated on
Mar 27, 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...
maxFeePerGas
string
Loading...
maxPriorityFeePerGas
string
Loading...
gasPrice
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...
v
string
Loading...
r
string
Loading...
s
string
Loading...
yParity
string
Loading...
blockTimestamp
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"type": "0x2",
5
"maxPriorityFeePerGas": "0x18e9b26e00",
6
"maxFeePerGas": "0x18e9b26e46",
7
"accessList": [],
8
"yParity": "0x0",
9
"chainId": "0x51",
10
"nonce": "0x56abb0",
11
"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",
12
"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",
13
"value": "0x0",
14
"input": "0x",
15
"gasPrice": "0x18e9b26e07",
16
"v": "0x0",
17
"r": "0x33fbda666ff35f11a2cabdeffd7379708e9820a395add4b826f50ae64e8a2375",
18
"s": "0x650567499fb744ddc105dac70214dbaabbe3413a775772d11816b5588ce391be",
19
"hash": "0x4d9d7a87ab2dae0cc4afc5d2f8fbe1e70a0ec8229908b4ae17105e66f20097b0",
20
"transactionIndex": "0x1",
21
"blockHash": "0x77077e59febe15df15826aeabc4301443f763862a40cc06bf49ab800bad3423a",
22
"blockNumber": "0xe475e2",
23
"gas": "0x5208"
24
},
25
"id": 1
26
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"type": "0x2",
5
"maxPriorityFeePerGas": "0x18e9b26e00",
6
"maxFeePerGas": "0x18e9b26e46",
7
"accessList": [],
8
"yParity": "0x0",
9
"chainId": "0x51",
10
"nonce": "0x56abb0",
11
"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",
12
"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",
13
"value": "0x0",
14
"input": "0x",
15
"gasPrice": "0x18e9b26e07",
16
"v": "0x0",
17
"r": "0x33fbda666ff35f11a2cabdeffd7379708e9820a395add4b826f50ae64e8a2375",
18
"s": "0x650567499fb744ddc105dac70214dbaabbe3413a775772d11816b5588ce391be",
19
"hash": "0x4d9d7a87ab2dae0cc4afc5d2f8fbe1e70a0ec8229908b4ae17105e66f20097b0",
20
"transactionIndex": "0x1",
21
"blockHash": "0x77077e59febe15df15826aeabc4301443f763862a40cc06bf49ab800bad3423a",
22
"blockNumber": "0xe475e2",
23
"gas": "0x5208"
24
},
25
"id": 1
26
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free