Skip to main content

debug_traceBlockByHash RPC Method

Loading...

Updated on
Apr 02, 2026

debug_traceBlockByHash RPC Method

This RPC method is included in the Free Trial with limited usage. Upgrade your plan to get full access and higher limits. Learn more on our pricing page.

Parameters

blockHash
string
REQUIRED
Loading...
object
object
REQUIRED
Loading...
tracer
string
Loading...
callTracer
string
Loading...
prestateTracer
string
Loading...
tracerConfig
object
Loading...
onlyTopCall
boolean
Loading...

Returns

result
Loading...
result
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
calls
Loading...
from
Loading...
gas
Loading...
gasUsed
Loading...
to
Loading...
input
Loading...
output
Loading...
value
Loading...
type
Loading...
value
Loading...
type
Loading...
Request
1
curl -X POST "https://docs-demo.mantle-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0xf0838a69897b51cba8e9148b210a56ad6cc8bd8ed71315471b6788da9e1aa038",
8
{
9
"tracer": "callTracer",
10
"tracerConfig": {
11
"onlyTopCall": false
12
}
13
}
14
],
15
"id": 1
16
}'
1
curl -X POST "https://docs-demo.mantle-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "debug_traceBlockByHash",
6
"params": [
7
"0xf0838a69897b51cba8e9148b210a56ad6cc8bd8ed71315471b6788da9e1aa038",
8
{
9
"tracer": "callTracer",
10
"tracerConfig": {
11
"onlyTopCall": false
12
}
13
}
14
],
15
"id": 1
16
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x93f458d1eb5d7a2a744ddebe7d552d380e7d5d870b3b1d24bb5a0a84fef61a30",
7
"result": {
8
"calls": [
9
{
10
"from": "0x4200000000000000000000000000000000000015",
11
"gas": "0xe9a0d",
12
"gasUsed": "0x4a28",
13
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",
14
"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",
15
"type": "DELEGATECALL",
16
"value": "0x0"
17
}
18
],
19
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
20
"gas": "0xf4240",
21
"gasUsed": "0xb729",
22
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",
23
"to": "0x4200000000000000000000000000000000000015",
24
"type": "CALL",
25
"value": "0x0"
26
}
27
},
28
{
29
"txHash": "0x76684fd9d63fc707975aafed95a0229e488c520141c0f244cba582ba71ea50b2",
30
"result": {
31
"calls": [
32
{
33
"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
34
"gas": "0x1dd3f0",
35
"gasUsed": "0xc5",
36
"input": "0x0dfe1681",
37
"output": "0x00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb8",
38
"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",
39
"type": "STATICCALL"
40
},
41
{
42
"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
43
"gas": "0x1dd111",
44
"gasUsed": "0x2bf",
45
"input": "0xd21220a7",
46
"output": "0x000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111",
47
"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",
48
"type": "STATICCALL"
49
}
50
],
51
"error": "execution reverted",
52
"from": "0x888bbd8c810f8455d30b64bcc2ec6da604bdd888",
53
"gas": "0x147d35700",
54
"gasUsed": "0x2e05bf41",
55
"input": "0x0e0e000e0104020047453cb250f705211e7a0de2f9c5d94cfecc8abd78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8001e67a6265480dfe4bc1573ac9289285415cb8dc2abdeaddeaddeaddeaddeaddeaddeaddeaddead1111001ed201a02c12dfd94bca5d85f93d7ab83cff9b354c48f630c0f7e341ce65db8aa43e4f4461e3f6c9d30f79fca758e4af54",
56
"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000018467573696f6e583a205452414e534645525f4641494c45440000000000000000",
57
"revertReason": "FusionX: TRANSFER_FAILED",
58
"to": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
59
"type": "CALL",
60
"value": "0x0"
61
}
62
},
63
{
64
"txHash": "0xa98a5f75caf59b595a79cc4f1e968849f8058ecf389bf1159def024f06573458",
65
"result": {
66
"calls": [
67
{
68
"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
69
"gas": "0x15670",
70
"gasUsed": "0x100c",
71
"input": "0xe0409c71000000000000000000000000cabae6f6ea1ecab08ad02fe02ce9a44f09aebfa200000000000000000000000000000000000c184770045483ec3b887400000000",
72
"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",
73
"type": "CALL",
74
"value": "0x0"
75
},
76
{
77
"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
78
"gas": "0x11d2f",
79
"gasUsed": "0x83c",
80
"input": "0xe0409c71000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111000000000000000000000000000000000000963df46936e727a2ff5c70000000",
81
"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",
82
"type": "CALL",
83
"value": "0x0"
84
}
85
],
86
"error": "execution reverted",
87
"from": "0x53e9fb844da0b40dc6b2c38f366dfe45e7f00f57",
88
"gas": "0x1b098c02",
89
"gasUsed": "0x1af5f822",
90
"input": "0x1389a3cc00000000000000000000000000000000002f273100116072002e7f6603be408000000000000000000000000000000000000000000000000000000000662127b400000000000000000000000000000000000000000000000000000000000108150000000000000000000000000000000000000000000000000000000000018de1",
91
"to": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
92
"type": "CALL",
93
"value": "0x0"
94
}
95
}
96
]
97
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"txHash": "0x93f458d1eb5d7a2a744ddebe7d552d380e7d5d870b3b1d24bb5a0a84fef61a30",
7
"result": {
8
"calls": [
9
{
10
"from": "0x4200000000000000000000000000000000000015",
11
"gas": "0xe9a0d",
12
"gasUsed": "0x4a28",
13
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",
14
"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",
15
"type": "DELEGATECALL",
16
"value": "0x0"
17
}
18
],
19
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
20
"gas": "0xf4240",
21
"gasUsed": "0xb729",
22
"input": "0x015d8eb900000000000000000000000000000000000000000000000000000000012c55f1000000000000000000000000000000000000000000000000000000006621278300000000000000000000000000000000000000000000000000000003a2e88a4e540c883cea67f316d071836f37264c69b566c900cbb80c53602f4cfbf395476000000000000000000000000000000000000000000000000000000000000000030000000000000000000000002f40d796917ffb642bd2e2bdd2c762a5e40fd74900000000000000000000000000000000000000000000000000000000000000bc0000000000000000000000000000000000000000000000000000000000002710",
23
"to": "0x4200000000000000000000000000000000000015",
24
"type": "CALL",
25
"value": "0x0"
26
}
27
},
28
{
29
"txHash": "0x76684fd9d63fc707975aafed95a0229e488c520141c0f244cba582ba71ea50b2",
30
"result": {
31
"calls": [
32
{
33
"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
34
"gas": "0x1dd3f0",
35
"gasUsed": "0xc5",
36
"input": "0x0dfe1681",
37
"output": "0x00000000000000000000000078c1b0c915c4faa5fffa6cabf0219da63d7f4cb8",
38
"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",
39
"type": "STATICCALL"
40
},
41
{
42
"from": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
43
"gas": "0x1dd111",
44
"gasUsed": "0x2bf",
45
"input": "0xd21220a7",
46
"output": "0x000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111",
47
"to": "0x47453cb250f705211e7a0de2f9c5d94cfecc8abd",
48
"type": "STATICCALL"
49
}
50
],
51
"error": "execution reverted",
52
"from": "0x888bbd8c810f8455d30b64bcc2ec6da604bdd888",
53
"gas": "0x147d35700",
54
"gasUsed": "0x2e05bf41",
55
"input": "0x0e0e000e0104020047453cb250f705211e7a0de2f9c5d94cfecc8abd78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8001e67a6265480dfe4bc1573ac9289285415cb8dc2abdeaddeaddeaddeaddeaddeaddeaddeaddead1111001ed201a02c12dfd94bca5d85f93d7ab83cff9b354c48f630c0f7e341ce65db8aa43e4f4461e3f6c9d30f79fca758e4af54",
56
"output": "0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000018467573696f6e583a205452414e534645525f4641494c45440000000000000000",
57
"revertReason": "FusionX: TRANSFER_FAILED",
58
"to": "0x40da35b27c3d18e7455ca4a38dc075be16a05d2b",
59
"type": "CALL",
60
"value": "0x0"
61
}
62
},
63
{
64
"txHash": "0xa98a5f75caf59b595a79cc4f1e968849f8058ecf389bf1159def024f06573458",
65
"result": {
66
"calls": [
67
{
68
"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
69
"gas": "0x15670",
70
"gasUsed": "0x100c",
71
"input": "0xe0409c71000000000000000000000000cabae6f6ea1ecab08ad02fe02ce9a44f09aebfa200000000000000000000000000000000000c184770045483ec3b887400000000",
72
"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",
73
"type": "CALL",
74
"value": "0x0"
75
},
76
{
77
"from": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
78
"gas": "0x11d2f",
79
"gasUsed": "0x83c",
80
"input": "0xe0409c71000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead1111000000000000000000000000000000000000963df46936e727a2ff5c70000000",
81
"to": "0x2ed161d59b5a42d502b9f11f6247c0a027e6b373",
82
"type": "CALL",
83
"value": "0x0"
84
}
85
],
86
"error": "execution reverted",
87
"from": "0x53e9fb844da0b40dc6b2c38f366dfe45e7f00f57",
88
"gas": "0x1b098c02",
89
"gasUsed": "0x1af5f822",
90
"input": "0x1389a3cc00000000000000000000000000000000002f273100116072002e7f6603be408000000000000000000000000000000000000000000000000000000000662127b400000000000000000000000000000000000000000000000000000000000108150000000000000000000000000000000000000000000000000000000000018de1",
91
"to": "0x391536d06480e554cfa60f9e2be0f3bbe5a377ca",
92
"type": "CALL",
93
"value": "0x0"
94
}
95
}
96
]
97
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free