跳转至主要内容

debug_traceBlockByHash RPC 方法

正在加载...

更新于
2026年3月27日

debug_traceBlockByHash RPC 方法

此 RPC 方法包含在免费试用版中,但使用受限。升级您的套餐即可获得完整访问权限和更高的使用限额。请访问我们的定价页面了解更多信息。

参数

blockHash
字符串
必填
正在加载...
对象
对象
必填
正在加载...
tracer
字符串
正在加载...
callTracer
字符串
正在加载...
prestateTracer
字符串
正在加载...
tracerConfig
对象
正在加载...
onlyTopCall
布尔型
正在加载...

退货

结果
数组
正在加载...
txHash
字符串
正在加载...
结果
对象
正在加载...
来自
字符串
正在加载...
气体
字符串
正在加载...
gasUsed
字符串
正在加载...
字符串
正在加载...
输入
字符串
正在加载...
输出
字符串
正在加载...
呼叫
数组
正在加载...
来自
字符串
正在加载...
气体
字符串
正在加载...
gasUsed
字符串
正在加载...
字符串
正在加载...
输入
字符串
正在加载...
输出
字符串
正在加载...
字符串
正在加载...
类型
字符串
正在加载...
字符串
正在加载...
类型
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"txHash": "0xdf47d65dd845073ce2c6cdfd264d624bf87fc4210892b67b9bb5899d54a3c71c",
7
"result": {
8
“呼叫”: [
9
{
10
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
11
"gas": "0x2e970",
12
"gasUsed": "0x2a78",
13
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000012200000000000000000000000000000000000000000000a0e70c49198e236d44b300000000000000000000000000000000000000000000000000000000042c1d800000000000000000000000000000000000000000000000000000000000000010",
14
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
15
"type": "DELEGATECALL",
16
“value”: "0x0"
17
}
18
],
19
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
20
"gas": "0x35f30",
21
"gasUsed": "0x9489",
22
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000012200000000000000000000000000000000000000000000a0e70c49198e236d44b300000000000000000000000000000000000000000000000000000000042c1d800000000000000000000000000000000000000000000000000000000000000010",
23
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
24
"类型": "CALL",
25
“value”: "0x0"
26
}
27
},
28
{
29
"txHash": "0x10cc3c05a602d1c1339bde5f3c35a7c567e6b96ec0984df045998de5309194b4",
30
"result": {
31
“呼叫”: [
32
{
33
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
34
"gas": "0x2e988",
35
"gasUsed": "0x2a78",
36
"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000a0e70c49198e236d44b30000000000000000000000000000000000000000000000000000000000550a320000000000000000000000000000000000000000000000000000000000000010",
37
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
38
"type": "DELEGATECALL",
39
“value”: "0x0"
40
}
41
],
42
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
43
"gas": "0x35f30",
44
"gasUsed": "0x9471",
45
"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000a0e70c49198e236d44b30000000000000000000000000000000000000000000000000000000000550a320000000000000000000000000000000000000000000000000000000000000010",
46
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
47
"类型": "CALL",
48
“value”: "0x0"
49
}
50
},
51
{
52
"txHash": "0xe2adc94f436029fc51c41ba3ded50c292bc3b170fbc5574507860f09506538e8",
53
"result": {
54
“呼叫”: [
55
{
56
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
57
"gas": "0x2e97c",
58
"gasUsed": "0x2a78",
59
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006500000000000000000000000000000000000000000000a0e70c49198e236d44b3000000000000000000000000000000000000000000000000000000001f02c78e000000000000000000000000000000000000000000000000000000000000000c",
60
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
61
"type": "DELEGATECALL",
62
“value”: "0x0"
63
}
64
],
65
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
66
"gas": "0x35f30",
67
"gasUsed": "0x947d",
68
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006500000000000000000000000000000000000000000000a0e70c49198e236d44b3000000000000000000000000000000000000000000000000000000001f02c78e000000000000000000000000000000000000000000000000000000000000000c",
69
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
70
"类型": "CALL",
71
“value”: "0x0"
72
}
73
},
74
{
75
"txHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",
76
"result": {
77
“呼叫”: [
78
{
79
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
80
"gas": "0x2e97c",
81
"gasUsed": "0x2a78",
82
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",
83
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
84
"type": "DELEGATECALL",
85
“value”: "0x0"
86
}
87
],
88
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
89
"gas": "0x35f30",
90
"gasUsed": "0x947d",
91
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",
92
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
93
"类型": "CALL",
94
“value”: "0x0"
95
}
96
}
97
]
98
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"txHash": "0xdf47d65dd845073ce2c6cdfd264d624bf87fc4210892b67b9bb5899d54a3c71c",
7
"result": {
8
“呼叫”: [
9
{
10
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
11
"gas": "0x2e970",
12
"gasUsed": "0x2a78",
13
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000012200000000000000000000000000000000000000000000a0e70c49198e236d44b300000000000000000000000000000000000000000000000000000000042c1d800000000000000000000000000000000000000000000000000000000000000010",
14
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
15
"type": "DELEGATECALL",
16
“value”: "0x0"
17
}
18
],
19
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
20
"gas": "0x35f30",
21
"gasUsed": "0x9489",
22
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000012200000000000000000000000000000000000000000000a0e70c49198e236d44b300000000000000000000000000000000000000000000000000000000042c1d800000000000000000000000000000000000000000000000000000000000000010",
23
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
24
"类型": "CALL",
25
“value”: "0x0"
26
}
27
},
28
{
29
"txHash": "0x10cc3c05a602d1c1339bde5f3c35a7c567e6b96ec0984df045998de5309194b4",
30
"result": {
31
“呼叫”: [
32
{
33
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
34
"gas": "0x2e988",
35
"gasUsed": "0x2a78",
36
"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000a0e70c49198e236d44b30000000000000000000000000000000000000000000000000000000000550a320000000000000000000000000000000000000000000000000000000000000010",
37
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
38
"type": "DELEGATECALL",
39
“value”: "0x0"
40
}
41
],
42
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
43
"gas": "0x35f30",
44
"gasUsed": "0x9471",
45
"input": "0x3161b7f60000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000a0e70c49198e236d44b30000000000000000000000000000000000000000000000000000000000550a320000000000000000000000000000000000000000000000000000000000000010",
46
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
47
"类型": "CALL",
48
“value”: "0x0"
49
}
50
},
51
{
52
"txHash": "0xe2adc94f436029fc51c41ba3ded50c292bc3b170fbc5574507860f09506538e8",
53
"result": {
54
“呼叫”: [
55
{
56
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
57
"gas": "0x2e97c",
58
"gasUsed": "0x2a78",
59
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006500000000000000000000000000000000000000000000a0e70c49198e236d44b3000000000000000000000000000000000000000000000000000000001f02c78e000000000000000000000000000000000000000000000000000000000000000c",
60
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
61
"type": "DELEGATECALL",
62
“value”: "0x0"
63
}
64
],
65
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
66
"gas": "0x35f30",
67
"gasUsed": "0x947d",
68
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006500000000000000000000000000000000000000000000a0e70c49198e236d44b3000000000000000000000000000000000000000000000000000000001f02c78e000000000000000000000000000000000000000000000000000000000000000c",
69
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
70
"类型": "CALL",
71
“value”: "0x0"
72
}
73
},
74
{
75
"txHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",
76
"result": {
77
“呼叫”: [
78
{
79
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
80
"gas": "0x2e97c",
81
"gasUsed": "0x2a78",
82
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",
83
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
84
"type": "DELEGATECALL",
85
“value”: "0x0"
86
}
87
],
88
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
89
"gas": "0x35f30",
90
"gasUsed": "0x947d",
91
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001fa13e050d85ef86fe4000000000000000000000000000000000000000000000000000000002da2df000000000000000000000000000000000000000000000000000000000000000010",
92
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
93
"类型": "CALL",
94
“value”: "0x0"
95
}
96
}
97
]
98
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用