Skip to main content

eth_getTransactionByBlockHashAndIndex RPC Method

Loading...

Updated on
Apr 09, 2026

Parameters

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