Ir diretamente para o conteúdo principal

Método RPC `eth_getTransactionByBlockNumberAndIndex`

A carregar...

Atualizado em
Mar 30, 2026

Método RPC `eth_getTransactionByBlockNumberAndIndex`

Parâmetros

número do bloco
cadeia de caracteres
OBRIGATÓRIO
A carregar...
índice
cadeia de caracteres
OBRIGATÓRIO
A carregar...

Devoluções

objeto
A carregar...
blockHash
A carregar...
número do bloco
A carregar...
de
A carregar...
gás
A carregar...
gasPrice
A carregar...
maxFeePerGas
A carregar...
maxPriorityFeePerGas
A carregar...
hash
A carregar...
entrada
A carregar...
nonce
A carregar...
para
A carregar...
índice da transação
A carregar...
valor
A carregar...
tipo
A carregar...
accessList
A carregar...
chainId
A carregar...
v
A carregar...
r
A carregar...
s
A carregar...
yParity
A carregar...
Pedido
Resposta
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x002e937128e856366ec85fa19e1910bdf1690ac53bcc05a0b0e3c71c6cedf702",
6
"blockNumber": "0xcec75",
7
"from": "0xd9275eb8276e14b9e28d5f9b12e90ddaaf3586ef",
8
"gas": "0x5208",
9
"gasPrice": "0x199c82cc35",
10
"maxFeePerGas": "0x199c82cc3b",
11
"maxPriorityFeePerGas": "0x199c82cc04",
12
"hash": "0x3b0dc23ac678216deb66d6cca28204c83cc002079a48743bd852da6d6fa3fc53",
13
"entrada": "0x",
14
"nonce": "0xa4",
15
"to": "0xd2374e67cf81135c220f3e806afdcd7cab6515f2",
16
"transactionIndex": "0x0",
17
"value": "0x1bc16d674ec80000",
18
"tipo": "0x2",
19
«accessList»: [],
20
"chainId": "0x34a1",
21
"v": "0x0",
22
"r": "0x1e90022a699a4916cecdda711724b24d175ed92a0b6ea6d9a2a75c6def97f7d2",
23
"s": "0x7233c9476102b4da456e9881841cbad2b9f85699c50e178baa8a60f7c28f5f66",
24
"yParity": "0x0"
25
}
26
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x002e937128e856366ec85fa19e1910bdf1690ac53bcc05a0b0e3c71c6cedf702",
6
"blockNumber": "0xcec75",
7
"from": "0xd9275eb8276e14b9e28d5f9b12e90ddaaf3586ef",
8
"gas": "0x5208",
9
"gasPrice": "0x199c82cc35",
10
"maxFeePerGas": "0x199c82cc3b",
11
"maxPriorityFeePerGas": "0x199c82cc04",
12
"hash": "0x3b0dc23ac678216deb66d6cca28204c83cc002079a48743bd852da6d6fa3fc53",
13
"entrada": "0x",
14
"nonce": "0xa4",
15
"to": "0xd2374e67cf81135c220f3e806afdcd7cab6515f2",
16
"transactionIndex": "0x0",
17
"value": "0x1bc16d674ec80000",
18
"tipo": "0x2",
19
«accessList»: [],
20
"chainId": "0x34a1",
21
"v": "0x0",
22
"r": "0x1e90022a699a4916cecdda711724b24d175ed92a0b6ea6d9a2a75c6def97f7d2",
23
"s": "0x7233c9476102b4da456e9881841cbad2b9f85699c50e178baa8a60f7c28f5f66",
24
"yParity": "0x0"
25
}
26
}
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente