Skip to main content

eth_getTransactionByHash RPC Method

Loading...

Updated on
Mar 27, 2026

Parameters

hash
string
REQUIRED
Loading...

Returns

object
object | null
Loading...
type
string
Loading...
chainId
string
Loading...
nonce
string
Loading...
gas
string
Loading...
maxFeePerGas
string
Loading...
maxPriorityFeePerGas
string
Loading...
to
string | null
Loading...
value
string
Loading...
accessList
array
Loading...
input
string
Loading...
r
string
Loading...
s
string
Loading...
yParity
string
Loading...
v
string
Loading...
hash
string
Loading...
blockHash
string | null
Loading...
blockNumber
string | null
Loading...
transactionIndex
string | null
Loading...
from
string
Loading...
gasPrice
string
Loading...
blockTimestamp
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"chainId": "0x6313",
7
"nonce": "0x42",
8
"gas": "0x24dce",
9
"maxFeePerGas": "0xf4247",
10
"maxPriorityFeePerGas": "0xf4247",
11
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
12
"value": "0x0",
13
"accessList": [],
14
"input": "0x15373e3d000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001",
15
"r": "0x9d8de21d4f1f368abd7e2182fe9f7134770e156cd221955b67ab0b30618623ae",
16
"s": "0x713018da405cd93b39e25ea5fa662ec105ef3686153f6d852f5211dd53345c3",
17
"yParity": "0x1",
18
"v": "0x1",
19
"hash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
20
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
21
"blockNumber": "0x247e80",
22
"transactionIndex": "0x0",
23
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
24
"gasPrice": "0xf4247"
25
}
26
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"chainId": "0x6313",
7
"nonce": "0x42",
8
"gas": "0x24dce",
9
"maxFeePerGas": "0xf4247",
10
"maxPriorityFeePerGas": "0xf4247",
11
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
12
"value": "0x0",
13
"accessList": [],
14
"input": "0x15373e3d000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001",
15
"r": "0x9d8de21d4f1f368abd7e2182fe9f7134770e156cd221955b67ab0b30618623ae",
16
"s": "0x713018da405cd93b39e25ea5fa662ec105ef3686153f6d852f5211dd53345c3",
17
"yParity": "0x1",
18
"v": "0x1",
19
"hash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
20
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
21
"blockNumber": "0x247e80",
22
"transactionIndex": "0x0",
23
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
24
"gasPrice": "0xf4247"
25
}
26
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free