Ir al contenido principal

eth_getTransactionByBlockNumberAndIndex RPC Method

Cargando...

Actualizado el
30 de marzo de 2026

eth_getTransactionByBlockNumberAndIndex RPC Method

Parámetros

número de bloque
cadena
OBLIGATORIO
Cargando...
index
cadena
OBLIGATORIO
Cargando...

Devoluciones

objeto
Cargando...
blockHash
Cargando...
número de bloque
Cargando...
de
Cargando...
gas
Cargando...
precio del gas
Cargando...
maxFeePerGas
Cargando...
maxPriorityFeePerGas
Cargando...
hash
Cargando...
input
Cargando...
nonce
Cargando...
a
Cargando...
índice de transacción
Cargando...
valor
Cargando...
tipo
Cargando...
accessList
Cargando...
chainId
Cargando...
v
Cargando...
r
Cargando...
s
Cargando...
yParity
Cargando...
Solicitud
Respuesta
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
"input": "0x",
14
"nonce": "0xa4",
15
"to": "0xd2374e67cf81135c220f3e806afdcd7cab6515f2",
16
"transactionIndex": "0x0",
17
"value": "0x1bc16d674ec80000",
18
"type": "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
"input": "0x",
14
"nonce": "0xa4",
15
"to": "0xd2374e67cf81135c220f3e806afdcd7cab6515f2",
16
"transactionIndex": "0x0",
17
"value": "0x1bc16d674ec80000",
18
"type": "0x2",
19
"accessList": [],
20
"chainId": "0x34a1",
21
"v": "0x0",
22
"r": "0x1e90022a699a4916cecdda711724b24d175ed92a0b6ea6d9a2a75c6def97f7d2",
23
"s": "0x7233c9476102b4da456e9881841cbad2b9f85699c50e178baa8a60f7c28f5f66",
24
"yParity": "0x0"
25
}
26
}
¿Aún no tienes una cuenta?
Crea tuendpoint Quicknode endpoint segundos y empieza a desarrollar
Empieza gratis