Skip to main content

eth_getTransactionByBlockHashAndIndex RPC Method

Loading...

Updated on
Feb 23, 2026

Parameters

blockHash
string
REQUIRED
Loading...
index
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...
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...
sender
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0xe5a53570ccba62a9d302f1ac1cea9d5ec67dfb540f31e6f92d3e0f8198540f6b",
6
"blockNumber": "0x208da",
7
"from": "0xf94ad6816183ed4468684ff99cd4556ce4c3aca1",
8
"gas": "0x3d27a",
9
"gasPrice": "0x1dcd6500",
10
"hash": "0xf27e1bac1a4770e3c295048cefd10eed8e9cffeeea7a69f9edee5b638aaa332d",
11
"input": "0xf41766d80000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048e5519c32aa8c000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000653139c6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053000000000000000000000000000000000000040000000000000000000000006b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf0000000000000000000000000000000000000000000000000000000000000000",
12
"nonce": "0x47",
13
"to": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x0",
17
"v": "0x104ec4",
18
"r": "0x35aa3cae18e48b598044fd6ce2773138df1542406e0119659e31ee1ee9eb14fe",
19
"s": "0x50b5283ce4350a5d32b1d0e0b45636713434a358b2ad498700bd3bf097a6ce5e"
20
}
21
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0xe5a53570ccba62a9d302f1ac1cea9d5ec67dfb540f31e6f92d3e0f8198540f6b",
6
"blockNumber": "0x208da",
7
"from": "0xf94ad6816183ed4468684ff99cd4556ce4c3aca1",
8
"gas": "0x3d27a",
9
"gasPrice": "0x1dcd6500",
10
"hash": "0xf27e1bac1a4770e3c295048cefd10eed8e9cffeeea7a69f9edee5b638aaa332d",
11
"input": "0xf41766d80000000000000000000000000000000000000000000000000035721238d7cc62000000000000000000000000000000000000000000000048e5519c32aa8c000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f94ad6816183ed4468684ff99cd4556ce4c3aca100000000000000000000000000000000000000000000000000000000653139c6000000000000000000000000000000000000000000000000000000000000000100000000000000000000000053000000000000000000000000000000000000040000000000000000000000006b7d1c9d519dfc3a5d8d1b7c15d4e5bbe8dde1cf0000000000000000000000000000000000000000000000000000000000000000",
12
"nonce": "0x47",
13
"to": "0xaa111c62cdeef205f70e6722d1e22274274ec12f",
14
"transactionIndex": "0x0",
15
"value": "0x0",
16
"type": "0x0",
17
"v": "0x104ec4",
18
"r": "0x35aa3cae18e48b598044fd6ce2773138df1542406e0119659e31ee1ee9eb14fe",
19
"s": "0x50b5283ce4350a5d32b1d0e0b45636713434a358b2ad498700bd3bf097a6ce5e"
20
}
21
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free