Ir diretamente para o conteúdo principal

Método RPC `debug_traceTransaction`

A carregar...

Atualizado em
Apr 03, 2026

Método RPC `debug_traceTransaction`

This RPC method requires the Build plan or higher. Upgrade from your Free Trial to access this API Method. See our pricing for more information.

Parâmetros

transactionHash
cadeia de caracteres
OBRIGATÓRIO
A carregar...
objeto
objeto
OBRIGATÓRIO
A carregar...
tracer
cadeia de caracteres
A carregar...
callTracer
cadeia de caracteres
A carregar...
prestateTracer
cadeia de caracteres
A carregar...
tracerConfig
objeto
A carregar...
onlyTopCall
booleano
A carregar...
tempo limite
cadeia de caracteres
A carregar...

Devoluções

resultado
objeto
A carregar...
de
cadeia de caracteres
A carregar...
gás
cadeia de caracteres
A carregar...
gasUsed
cadeia de caracteres
A carregar...
para
cadeia de caracteres
A carregar...
entrada
cadeia de caracteres
A carregar...
saída
cadeia de caracteres
A carregar...
erro
cadeia de caracteres
A carregar...
revertReason
cadeia de caracteres
A carregar...
chamadas
matriz
A carregar...
de
cadeia de caracteres
A carregar...
gás
cadeia de caracteres
A carregar...
gasUsed
cadeia de caracteres
A carregar...
para
cadeia de caracteres
A carregar...
entrada
cadeia de caracteres
A carregar...
saída
cadeia de caracteres
A carregar...
valor
cadeia de caracteres
A carregar...
tipo
cadeia de caracteres
A carregar...
chamadas
matriz
A carregar...
valor
cadeia de caracteres
A carregar...
tipo
cadeia de caracteres
A carregar...
Pedido
Resposta
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
«chamadas»: [
6
{
7
«chamadas»: [
8
{
9
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
10
"gas": "0x278fa",
11
"gasUsed": "0x3260",
12
"input": "0xa9059cbb000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d0000000000000000000000000000000000000000000000000000000000055fc5",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
14
"to": "0x0555e30da8f98308edb960aa94c0db47230d2b9c",
15
"type": "CALL",
16
«valor»: "0x0"
17
},
18
{
19
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
20
"gas": "0x23b78",
21
"gasUsed": "0xa16",
22
"input": "0x70a08231000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c",
23
"output": "0x0000000000000000000000000000000000000000000091abb211f7c19136d067",
24
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
25
"tipo": "STATICCALL"
26
},
27
{
28
"calls": [
29
{
30
"from": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
31
"gas": "0x217fa",
32
"gasUsed": "0x341b",
33
"input": "0x23b872dd000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c00000000000000000000000000000000000000000000004276f01ab382780000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
36
"type": "CALL",
37
"value": "0x0"
38
}
39
],
40
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
41
"gas": "0x22ecc",
42
"gasUsed": "0x4469",
43
"input": "0xfa461e3300000000000000000000000000000000000000000000004276f01ab382780000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa03b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000002b039e2fb66102314ce7b64ce5ce3e5183bc94ad380000320555e30da8f98308edb960aa94c0db47230d2b9c000000000000000000000000000000000000000000",
44
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
45
"type": "CALL",
46
«valor»: "0x0"
47
},
48
{
49
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
50
"gas": "0x1e9c9",
51
"gasUsed": "0x246",
52
"input": "0x70a08231000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c",
53
"output": "0x0000000000000000000000000000000000000000000091ee2902127513aed067",
54
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
55
"tipo": "STATICCALL"
56
}
57
],
58
"from": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
59
"gas": "0x3393a",
60
"gasUsed": "0x157ac",
61
"input": "0x128acb08000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000004276f01ab38278000000000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000002b039e2fb66102314ce7b64ce5ce3e5183bc94ad380000320555e30da8f98308edb960aa94c0db47230d2b9c000000000000000000000000000000000000000000",
62
"output": "0x00000000000000000000000000000000000000000000004276f01ab382780000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa03b",
63
"to": "0xa1538e790ccdd639755602857f582a39ed7f650c",
64
"tipo": "CALL",
65
«valor»: "0x0"
66
}
67
],
68
"error": "execution reverted",
69
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
70
"gas": "0x3b86e",
71
"gasUsed": "0x1fcf8",
72
"input": "0xa026383e000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000555e30da8f98308edb960aa94c0db47230d2b9c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d00000000000000000000000000000000000000000000000000000000688376bf00000000000000000000000000000000000000000000004276f01ab3827800000000000000000000000000000000000000000000000000000000000000055fc90000000000000000000000000000000000000000000000000000000000000000",
73
"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013546f6f206c6974746c6520726563656976656400000000000000000000000000",
74
"revertReason": "Too little received",
75
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
76
"tipo": "CALL",
77
«valor»: "0x0"
78
}
79
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
«chamadas»: [
6
{
7
«chamadas»: [
8
{
9
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
10
"gas": "0x278fa",
11
"gasUsed": "0x3260",
12
"input": "0xa9059cbb000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d0000000000000000000000000000000000000000000000000000000000055fc5",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
14
"to": "0x0555e30da8f98308edb960aa94c0db47230d2b9c",
15
"type": "CALL",
16
«valor»: "0x0"
17
},
18
{
19
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
20
"gas": "0x23b78",
21
"gasUsed": "0xa16",
22
"input": "0x70a08231000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c",
23
"output": "0x0000000000000000000000000000000000000000000091abb211f7c19136d067",
24
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
25
"tipo": "STATICCALL"
26
},
27
{
28
"calls": [
29
{
30
"from": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
31
"gas": "0x217fa",
32
"gasUsed": "0x341b",
33
"input": "0x23b872dd000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c00000000000000000000000000000000000000000000004276f01ab382780000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
36
"type": "CALL",
37
"value": "0x0"
38
}
39
],
40
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
41
"gas": "0x22ecc",
42
"gasUsed": "0x4469",
43
"input": "0xfa461e3300000000000000000000000000000000000000000000004276f01ab382780000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa03b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000002b039e2fb66102314ce7b64ce5ce3e5183bc94ad380000320555e30da8f98308edb960aa94c0db47230d2b9c000000000000000000000000000000000000000000",
44
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
45
"type": "CALL",
46
«valor»: "0x0"
47
},
48
{
49
"from": "0xa1538e790ccdd639755602857f582a39ed7f650c",
50
"gas": "0x1e9c9",
51
"gasUsed": "0x246",
52
"input": "0x70a08231000000000000000000000000a1538e790ccdd639755602857f582a39ed7f650c",
53
"output": "0x0000000000000000000000000000000000000000000091ee2902127513aed067",
54
"to": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
55
"tipo": "STATICCALL"
56
}
57
],
58
"from": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
59
"gas": "0x3393a",
60
"gasUsed": "0x157ac",
61
"input": "0x128acb08000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000004276f01ab38278000000000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d000000000000000000000000000000000000000000000000000000000000002b039e2fb66102314ce7b64ce5ce3e5183bc94ad380000320555e30da8f98308edb960aa94c0db47230d2b9c000000000000000000000000000000000000000000",
62
"output": "0x00000000000000000000000000000000000000000000004276f01ab382780000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa03b",
63
"to": "0xa1538e790ccdd639755602857f582a39ed7f650c",
64
"tipo": "CALL",
65
«valor»: "0x0"
66
}
67
],
68
"error": "execution reverted",
69
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
70
"gas": "0x3b86e",
71
"gasUsed": "0x1fcf8",
72
"input": "0xa026383e000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000555e30da8f98308edb960aa94c0db47230d2b9c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000b3c506d60d45abb917ee10a947749a098b497d3d00000000000000000000000000000000000000000000000000000000688376bf00000000000000000000000000000000000000000000004276f01ab3827800000000000000000000000000000000000000000000000000000000000000055fc90000000000000000000000000000000000000000000000000000000000000000",
73
"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013546f6f206c6974746c6520726563656976656400000000000000000000000000",
74
"revertReason": "Too little received",
75
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
76
"tipo": "CALL",
77
«valor»: "0x0"
78
}
79
}
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente