跳至主要內容

debug_traceBlockByNumber RPC 方法

載入中...

更新於
Jan 21, 2026

debug_traceBlockByNumber RPC 方法

此 RPC 方法包含在免費試用版中,但使用量有限。請升級您的方案以獲得完整使用權限及更高的使用上限。請至我們的定價頁面了解更多資訊。

參數

區塊編號
字串
必填
載入中...
物件
物件
必填
載入中...
追蹤器
字串
載入中...
callTracer
字串
載入中...
prestateTracer
字串
載入中...
tracerConfig
物件
載入中...
onlyTopCall
布林值
載入中...

退貨

類型
載入中...
來自
載入中...
載入中...
載入中...
氣體
載入中...
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 端點,並開始建置
立即免費開始使用