跳至主要內容

debug_traceBlockByNumber RPC 方法

載入中...

更新於
2026年2月11日

debug_traceBlockByNumber RPC 方法

此 RPC 方法包含在免費試用版中,但使用量有限。請升級您的方案以獲得完整使用權限及更高的使用上限。請至我們的定價頁面了解更多資訊。
Please note that all debug_trace methods can be used for blocks after 22207818, while arbtrace_ methods can be used on blocks prior to 22207816. Block 22207817 cannot be traced but is empty.

參數

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

退貨

結果
載入中...
txHash
載入中...
結果
載入中...
beforeEVMTransfers
載入中...
purpose
載入中...
來自
載入中...
載入中...
載入中...
afterEVMTransfers
載入中...
purpose
載入中...
來自
載入中...
載入中...
載入中...
來自
載入中...
氣體
載入中...
gasUsed
載入中...
載入中...
輸入
載入中...
呼叫
載入中...
來自
載入中...
氣體
載入中...
gasUsed
載入中...
載入中...
輸入
載入中...
輸出
載入中...
載入中...
類型
載入中...
載入中...
類型
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
"txHash": "0xbb4e355bbc1aac87ab53d7d5c5df65a82995daadd64bf8fd55ee49db74fa2c03",
7
"result": {
8
"afterEVMTransfers": [],
9
"beforeEVMTransfers": [],
10
"from": "0x00000000000000000000000000000000000a4b05",
11
「氣體」: "0x0",
12
"gasUsed": "0x0",
13
"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d9d9f00000000000000000000000000000000000000000000000000000000095bee140000000000000000000000000000000000000000000000000000000000000000",
14
"to": "0x00000000000000000000000000000000000a4b05",
15
"類型": "CALL",
16
「價值」: "0x0"
17
}
18
},
19
{
20
"txHash": "0x9adb38acc74dfc528a6bcf2b879424f131f2ec1b01a65b6efc8aeac666ae549c",
21
"result": {
22
"afterEVMTransfers": [
23
{
24
"from": null,
25
"purpose": "gasRefund",
26
"to": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",
27
"value": "0x15b645d7c600"
28
},
29
{
30
"from": null,
31
"purpose": "feeCollection",
32
"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",
33
"value": "0x700011be600"
34
},
35
{
36
"from": null,
37
"purpose": "feeCollection",
38
"to": "0xa4B00000000000000000000000000000000000F6",
39
"value": "0x34c91e372000"
40
}
41
],
42
"beforeEVMTransfers": [
43
{
44
"from": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",
45
"purpose": "feePayment",
46
"to": null,
47
"value": "0x517f652acc00"
48
}
49
],
50
「呼叫」: [
51
{
52
"from": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",
53
「氣體」: "0x8fc",
54
"gasUsed": "0x0",
55
"輸入": "0x",
56
"to": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",
57
"type": "CALL",
58
"value": "0x30a00f4c7cb36c"
59
}
60
],
61
"from": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",
62
"gas": "0xdac4c",
63
"gasUsed": "0xa07c6",
64
"input": "0x3ccfd60b",
65
"to": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",
66
"類型": "CALL",
67
「價值」: "0x0"
68
}
69
}
70
]
71
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
"txHash": "0xbb4e355bbc1aac87ab53d7d5c5df65a82995daadd64bf8fd55ee49db74fa2c03",
7
"result": {
8
"afterEVMTransfers": [],
9
"beforeEVMTransfers": [],
10
"from": "0x00000000000000000000000000000000000a4b05",
11
「氣體」: "0x0",
12
"gasUsed": "0x0",
13
"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d9d9f00000000000000000000000000000000000000000000000000000000095bee140000000000000000000000000000000000000000000000000000000000000000",
14
"to": "0x00000000000000000000000000000000000a4b05",
15
"類型": "CALL",
16
「價值」: "0x0"
17
}
18
},
19
{
20
"txHash": "0x9adb38acc74dfc528a6bcf2b879424f131f2ec1b01a65b6efc8aeac666ae549c",
21
"result": {
22
"afterEVMTransfers": [
23
{
24
"from": null,
25
"purpose": "gasRefund",
26
"to": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",
27
"value": "0x15b645d7c600"
28
},
29
{
30
"from": null,
31
"purpose": "feeCollection",
32
"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",
33
"value": "0x700011be600"
34
},
35
{
36
"from": null,
37
"purpose": "feeCollection",
38
"to": "0xa4B00000000000000000000000000000000000F6",
39
"value": "0x34c91e372000"
40
}
41
],
42
"beforeEVMTransfers": [
43
{
44
"from": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",
45
"purpose": "feePayment",
46
"to": null,
47
"value": "0x517f652acc00"
48
}
49
],
50
「呼叫」: [
51
{
52
"from": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",
53
「氣體」: "0x8fc",
54
"gasUsed": "0x0",
55
"輸入": "0x",
56
"to": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",
57
"type": "CALL",
58
"value": "0x30a00f4c7cb36c"
59
}
60
],
61
"from": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",
62
"gas": "0xdac4c",
63
"gasUsed": "0xa07c6",
64
"input": "0x3ccfd60b",
65
"to": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",
66
"類型": "CALL",
67
「價值」: "0x0"
68
}
69
}
70
]
71
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用