Skip to main content

eth_getTransactionByHash RPC Method

Loading...

Updated on
Feb 23, 2026

Parameters

hash
string
REQUIRED
Loading...

Returns

object
object | null
Loading...
blockHash
string | null
Loading...
blockNumber
string | null
Loading...
blockTimestamp
string
Loading...
from
string
Loading...
gas
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...
v
string
Loading...
r
string
Loading...
s
string
Loading...
sourceHash
string
Loading...
mint
string
Loading...
depositReceiptVersion
string
Loading...
yParity
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
6
"blockNumber": "0x3a09c",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",
11
"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",
12
"nonce": "0x3a09b",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x7e",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0",
20
"sourceHash": "0x306e3450d2a8d82ecb1bd872743f6ce99dad67c8463066e18e5948e556179427",
21
"mint": "0x0",
22
"depositReceiptVersion": "0x1"
23
}
24
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",
6
"blockNumber": "0x3a09c",
7
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
8
"gas": "0xf4240",
9
"gasPrice": "0x0",
10
"hash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",
11
"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",
12
"nonce": "0x3a09b",
13
"to": "0x4200000000000000000000000000000000000015",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x7e",
17
"v": "0x0",
18
"r": "0x0",
19
"s": "0x0",
20
"sourceHash": "0x306e3450d2a8d82ecb1bd872743f6ce99dad67c8463066e18e5948e556179427",
21
"mint": "0x0",
22
"depositReceiptVersion": "0x1"
23
}
24
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free