Ir diretamente para o conteúdo principal

Método RPC `eth_getTransactionByHash`

A carregar...

Atualizado em
27 de março de 2026

Método RPC `eth_getTransactionByHash`

Parâmetros

hash
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...
chainId
A carregar...
accessList
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": "0x81faa8efb57ccb68481e17bfd61609dea4a3ea1c00a44936e123add06c7a50f2",
6
"blockNumber": "0x5eafbb",
7
"from": "0x3bdcdb2610d2f2d4f8e7bf71c830cb8493216e6b",
8
"gas": "0x26370",
9
"gasPrice": "0x5f5e100",
10
"maxFeePerGas": "0xbebc200",
11
"maxPriorityFeePerGas": "0x0",
12
"hash": "0x82d101c34b9a84909b8a3a9d04a09e20b0641396ac2089ce2f881424657a1389",
13
"input": "0x3804df03000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000cc420231033078366564663464336466333366376339353939646439663836303065643430616433646534646139370330786264623364623134373861613532396539386339346438653062333131343064363333663931363065653033376633373361656530373762613230376662626236353963373164346566396235326433316361633230633461303336626230653833386262633062316464303266646631663734346463343630616264323430316303406d7c3439397c34393803313731353732353533313138310000000000000000000000000000000000000000",
14
"nonce": "0x24f891",
15
"to": "0xf7cd914bd083ba44025300911be54b2db670f41d",
16
"transactionIndex": "0x1",
17
"value": "0x2540be400",
18
"tipo": "0x2",
19
«accessList»: [],
20
"chainId": "0xa1337",
21
"v": "0x1",
22
"r": "0x79f229898fefe5cd9c5fc99602e2ff2928c27cc4d9905e391442747c5d2afad9",
23
"s": "0x649c744ec82be600016b6e7943246c811cbf9fa757870dbdc00f279b6d3cd860",
24
"yParity": "0x1"
25
}
26
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x81faa8efb57ccb68481e17bfd61609dea4a3ea1c00a44936e123add06c7a50f2",
6
"blockNumber": "0x5eafbb",
7
"from": "0x3bdcdb2610d2f2d4f8e7bf71c830cb8493216e6b",
8
"gas": "0x26370",
9
"gasPrice": "0x5f5e100",
10
"maxFeePerGas": "0xbebc200",
11
"maxPriorityFeePerGas": "0x0",
12
"hash": "0x82d101c34b9a84909b8a3a9d04a09e20b0641396ac2089ce2f881424657a1389",
13
"input": "0x3804df03000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000cc420231033078366564663464336466333366376339353939646439663836303065643430616433646534646139370330786264623364623134373861613532396539386339346438653062333131343064363333663931363065653033376633373361656530373762613230376662626236353963373164346566396235326433316361633230633461303336626230653833386262633062316464303266646631663734346463343630616264323430316303406d7c3439397c34393803313731353732353533313138310000000000000000000000000000000000000000",
14
"nonce": "0x24f891",
15
"to": "0xf7cd914bd083ba44025300911be54b2db670f41d",
16
"transactionIndex": "0x1",
17
"value": "0x2540be400",
18
"tipo": "0x2",
19
«accessList»: [],
20
"chainId": "0xa1337",
21
"v": "0x1",
22
"r": "0x79f229898fefe5cd9c5fc99602e2ff2928c27cc4d9905e391442747c5d2afad9",
23
"s": "0x649c744ec82be600016b6e7943246c811cbf9fa757870dbdc00f279b6d3cd860",
24
"yParity": "0x1"
25
}
26
}
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente