跳转至主要内容

debug_traceBlockByNumber RPC 方法

正在加载...

更新于
2026年3月20日

debug_traceBlockByNumber RPC 方法

请注意,此 RPC 方法仅对“Build”套餐及以上套餐的用户开放。如果您使用的是“免费”套餐,则需要升级才能使用此方法。更多信息请参阅我们的定价页面

参数

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

退货

数组
数组
正在加载...
txHash
字符串
正在加载...
结果
对象
正在加载...
类型
字符串
正在加载...
来自
字符串
正在加载...
字符串
正在加载...
字符串
正在加载...
气体
字符串
正在加载...
gasUsed
字符串
正在加载...
输入
字符串
正在加载...
输出
字符串
正在加载...
呼叫
数组
正在加载...
类型
字符串
正在加载...
来自
字符串
正在加载...
字符串
正在加载...
字符串
正在加载...
气体
字符串
正在加载...
gasUsed
字符串
正在加载...
输入
字符串
正在加载...
输出
字符串
正在加载...
错误
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"txHash": "0x3901f2145d10aaffd4ae1ec1e74d7f0041416a07dc542d0ae9e3edce0542b51c",
7
"result": {
8
"from": "0x1cc0c65ca5dd6b767338946f2c44c02040744ef5",
9
"gas": "0x186a0",
10
"gasUsed": "0x5f56",
11
"input": "0xda91254c",
12
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
13
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
14
"类型": "CALL",
15
“value”: "0x0"
16
}
17
},
18
{
19
"txHash": "0x5174f75da0505c69bde586981455236fc0a8c32b48565d8339d4600c2df626ca",
20
"result": {
21
"from": "0x0fc4530b8f6fe6e6a73453cde827b9c695a3ebe5",
22
"gas": "0x186a0",
23
"gasUsed": "0x5f56",
24
"input": "0xda91254c",
25
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
26
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
27
"类型": "CALL",
28
“value”: "0x0"
29
}
30
},
31
{
32
"txHash": "0x42dbecc45f8d798919b15a9535ce4df149ad1f4bd4d7f52921b18bc196126b5c",
33
"result": {
34
"from": "0x0fc4530b8f6fe6e6a73453cde827b9c695a3ebe5",
35
"gas": "0x186a0",
36
"gasUsed": "0x5f56",
37
"input": "0xda91254c",
38
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
39
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
40
"类型": "CALL",
41
“value”: "0x0"
42
}
43
},
44
{
45
"txHash": "0x5b0855e7b3034eca355d148db289d631e3e95a53fe398043e934bca62be8917c",
46
"result": {
47
"from": "0x7bc7399a3af04b3f22a7bb82990f8a4dd859ba47",
48
"gas": "0x186a0",
49
"gasUsed": "0x5f56",
50
"input": "0xda91254c",
51
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
52
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
53
"类型": "CALL",
54
“value”: "0x0"
55
}
56
},
57
{
58
"txHash": "0xed765dacadfe6282aa936c8a91b9cb86c6541275dc89533158debf0e9843258f",
59
"result": {
60
"from": "0x7bc7399a3af04b3f22a7bb82990f8a4dd859ba47",
61
"gas": "0x186a0",
62
"gasUsed": "0x5f56",
63
"input": "0xda91254c",
64
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
65
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
66
"类型": "CALL",
67
“value”: "0x0"
68
}
69
}
70
]
71
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"txHash": "0x3901f2145d10aaffd4ae1ec1e74d7f0041416a07dc542d0ae9e3edce0542b51c",
7
"result": {
8
"from": "0x1cc0c65ca5dd6b767338946f2c44c02040744ef5",
9
"gas": "0x186a0",
10
"gasUsed": "0x5f56",
11
"input": "0xda91254c",
12
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
13
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
14
"类型": "CALL",
15
“value”: "0x0"
16
}
17
},
18
{
19
"txHash": "0x5174f75da0505c69bde586981455236fc0a8c32b48565d8339d4600c2df626ca",
20
"result": {
21
"from": "0x0fc4530b8f6fe6e6a73453cde827b9c695a3ebe5",
22
"gas": "0x186a0",
23
"gasUsed": "0x5f56",
24
"input": "0xda91254c",
25
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
26
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
27
"类型": "CALL",
28
“value”: "0x0"
29
}
30
},
31
{
32
"txHash": "0x42dbecc45f8d798919b15a9535ce4df149ad1f4bd4d7f52921b18bc196126b5c",
33
"result": {
34
"from": "0x0fc4530b8f6fe6e6a73453cde827b9c695a3ebe5",
35
"gas": "0x186a0",
36
"gasUsed": "0x5f56",
37
"input": "0xda91254c",
38
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
39
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
40
"类型": "CALL",
41
“value”: "0x0"
42
}
43
},
44
{
45
"txHash": "0x5b0855e7b3034eca355d148db289d631e3e95a53fe398043e934bca62be8917c",
46
"result": {
47
"from": "0x7bc7399a3af04b3f22a7bb82990f8a4dd859ba47",
48
"gas": "0x186a0",
49
"gasUsed": "0x5f56",
50
"input": "0xda91254c",
51
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
52
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
53
"类型": "CALL",
54
“value”: "0x0"
55
}
56
},
57
{
58
"txHash": "0xed765dacadfe6282aa936c8a91b9cb86c6541275dc89533158debf0e9843258f",
59
"result": {
60
"from": "0x7bc7399a3af04b3f22a7bb82990f8a4dd859ba47",
61
"gas": "0x186a0",
62
"gasUsed": "0x5f56",
63
"input": "0xda91254c",
64
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001661726e6f6c642e6368616e40636972636c652e636f6d00000000000000000000",
65
"to": "0x5d95a6bad575ff00e12919dfa259e6a3dd50388f",
66
"类型": "CALL",
67
“value”: "0x0"
68
}
69
}
70
]
71
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用