Skip to main content

eth_getTransactionByBlockHashAndIndex RPC Method

Loading...

Updated on
Apr 06, 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...
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...
v
string
Loading...
r
string
Loading...
s
string
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x0005636400001c16369c871119aaa42f2ecd76801afbafa8cac98456e95bf43a",
6
"blockNumber": "0x73678f7",
7
"from": "0x9f403140bc0574d7d36ea472b82daa1bbd4ef327",
8
"gas": "0x14ca6",
9
"gasPrice": "0x495101a0",
10
"maxFeePerGas": "0x495101a0",
11
"maxPriorityFeePerGas": "0x495101a0",
12
"hash": "0x289c44595d753ea2d5b87aff948b4b2eea8606634ecfe448e54e057bc9432851",
13
"input": "0x3d85ac330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000076cc0000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000016345785d8a0000",
14
"nonce": "0x2205",
15
"to": "0x2957ebc0d2931270d4a539696514b047756b3056",
16
"transactionIndex": "0x0",
17
"value": "0x0",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0xfa",
21
"v": "0x1",
22
"r": "0x3054c1db10a26a0a38d2448c5338b3f17290b647e28ad9b49b5075ea21a72328",
23
"s": "0x7f1e07aeeb0cb0d6bd5bdb75aa5bde136a817b1f2497febb5c21a9b28369782e"
24
}
25
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x0005636400001c16369c871119aaa42f2ecd76801afbafa8cac98456e95bf43a",
6
"blockNumber": "0x73678f7",
7
"from": "0x9f403140bc0574d7d36ea472b82daa1bbd4ef327",
8
"gas": "0x14ca6",
9
"gasPrice": "0x495101a0",
10
"maxFeePerGas": "0x495101a0",
11
"maxPriorityFeePerGas": "0x495101a0",
12
"hash": "0x289c44595d753ea2d5b87aff948b4b2eea8606634ecfe448e54e057bc9432851",
13
"input": "0x3d85ac330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000076cc0000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000014c080000000000000000000000000000000000000000000000000000000000002ee00000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000016345785d8a0000",
14
"nonce": "0x2205",
15
"to": "0x2957ebc0d2931270d4a539696514b047756b3056",
16
"transactionIndex": "0x0",
17
"value": "0x0",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0xfa",
21
"v": "0x1",
22
"r": "0x3054c1db10a26a0a38d2448c5338b3f17290b647e28ad9b49b5075ea21a72328",
23
"s": "0x7f1e07aeeb0cb0d6bd5bdb75aa5bde136a817b1f2497febb5c21a9b28369782e"
24
}
25
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free