跳转至主要内容

debug_traceBlockByNumber RPC 方法

正在加载...

更新于
2026年5月21日

debug_traceBlockByNumber RPC 方法

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

参数

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

退货

类型
正在加载...
来自
正在加载...
正在加载...
正在加载...
气体
正在加载...
gasUsed
正在加载...
输入
正在加载...
输出
正在加载...
呼叫
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"type": "CALL",
7
"from": "0x3b5b09d988ba5be25d130a6959a7e4dc5cad4578",
8
"to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
9
"value": "0x2386f26fc10000",
10
"gas": "0x55730",
11
"gasUsed": "0x3d227",
12
"input": "0x7ff36ab5000000000000000000000000000000000000000000000000000b8d442e2d8b000000000000000000000000000003b5b09d988ba5be25d130a6959a7e4dc5cad45780000000000000000000000000000000000000000000000000000000064a571e9",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000002e90edd00000",
14
"calls": [
15
{
16
"type": "CALL",
17
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
18
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
19
"value": "0x2386f26fc10000",
20
"gas": "0x12e04",
21
"gasUsed": "0x8fc",
22
"input": "0xd0e30db0",
23
"output": "0x",
24
"calls": []
25
},
26
{
27
"type": "CALL",
28
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
29
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
30
“value”: "0x0",
31
"gas": "0x11b36",
32
"gasUsed": "0x2c33",
33
"input": "0xa9059cbb0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000000000000000000000000000000002386f26fc10000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"calls": []
36
}
37
]
38
},
39
{
40
"type": "CALL",
41
"from": "0xf04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e",
42
"to": "0x881d40237659c251811cec9c364ef91dc08d300c",
43
"value": "0x0",
44
"gas": "0x29dbb",
45
"gasUsed": "0x16e0a",
46
"input": "0x38ed1739000000000000000000000000000000000000000000000000000429d069189e00000000000000000000000000000000000000000000000000029e8d66e8203c2e0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e0000000000000000000000000000000000000000000000000000000064a571f40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef",
47
"output": "0x0000000000000000000000000000000000000000000000000029e8d66e8203c2e",
48
"calls": []
49
}
50
]
51
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"type": "CALL",
7
"from": "0x3b5b09d988ba5be25d130a6959a7e4dc5cad4578",
8
"to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
9
"value": "0x2386f26fc10000",
10
"gas": "0x55730",
11
"gasUsed": "0x3d227",
12
"input": "0x7ff36ab5000000000000000000000000000000000000000000000000000b8d442e2d8b000000000000000000000000000003b5b09d988ba5be25d130a6959a7e4dc5cad45780000000000000000000000000000000000000000000000000000000064a571e9",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000002e90edd00000",
14
"calls": [
15
{
16
"type": "CALL",
17
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
18
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
19
"value": "0x2386f26fc10000",
20
"gas": "0x12e04",
21
"gasUsed": "0x8fc",
22
"input": "0xd0e30db0",
23
"output": "0x",
24
"calls": []
25
},
26
{
27
"type": "CALL",
28
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
29
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
30
“value”: "0x0",
31
"gas": "0x11b36",
32
"gasUsed": "0x2c33",
33
"input": "0xa9059cbb0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000000000000000000000000000000002386f26fc10000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"calls": []
36
}
37
]
38
},
39
{
40
"type": "CALL",
41
"from": "0xf04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e",
42
"to": "0x881d40237659c251811cec9c364ef91dc08d300c",
43
"value": "0x0",
44
"gas": "0x29dbb",
45
"gasUsed": "0x16e0a",
46
"input": "0x38ed1739000000000000000000000000000000000000000000000000000429d069189e00000000000000000000000000000000000000000000000000029e8d66e8203c2e0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000f04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e0000000000000000000000000000000000000000000000000000000064a571f40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef",
47
"output": "0x0000000000000000000000000000000000000000000000000029e8d66e8203c2e",
48
"calls": []
49
}
50
]
51
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用