跳至主要內容

debug_traceBlockByNumber RPC 方法

載入中...

更新於
2026年3月27日

debug_traceBlockByNumber RPC 方法

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

參數

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

退貨

結果
物件
載入中...
txHash
字串
載入中...
結果
物件
載入中...
來自
字串
載入中...
氣體
字串
載入中...
gasUsed
字串
載入中...
字串
載入中...
輸入
字串
載入中...
呼叫
陣列
載入中...
來自
字串
載入中...
氣體
字串
載入中...
gasUsed
字串
載入中...
字串
載入中...
輸入
字串
載入中...
輸出
字串
載入中...
字串
載入中...
類型
字串
載入中...
字串
載入中...
類型
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
"txHash": "0x6cc56a0fd329eb2334aab05b4ddea02c3eee0ffca86477c6eca15f5c09b4dade",
7
"result": {
8
"from": "0xdd9e752d8cd7864c8b67bf22be9bfc760a038630",
9
"gas": "0x13622",
10
"gasUsed": "0x132a4",
11
"to": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
12
"input": "0x77f64b8200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c3e3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f61cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d701c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e1c0000000000000000000000000000000000000000000000000000000000",
13
「呼叫」: [
14
{
15
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
16
"gas": "0xbee4",
17
"gasUsed": "0xbe4a",
18
"to": "0xadd29dd9c7e81ca18e82be4546661be0edaa3596",
19
"input": "0x77f64b8200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c3e3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f61cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d701c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e1c0000000000000000000000000000000000000000000000000000000000",
20
"calls": [
21
{
22
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
23
"gas": "0x897f",
24
"gasUsed": "0xbb8",
25
"to": "0x0000000000000000000000000000000000000001",
26
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001ce3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f6",
27
"output": "0x000000000000000000000000e6909876804194aea034b0f7217ac10bd2a54032",
28
"type": "STATICCALL"
29
},
30
{
31
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
32
"gas": "0x6f48",
33
"gasUsed": "0xbb8",
34
"to": "0x0000000000000000000000000000000000000001",
35
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d70",
36
"output": "0x00000000000000000000000062d5b0d79b6c72fc6ad92252c1e5fb5a2f81d1fb",
37
"type": "STATICCALL"
38
},
39
{
40
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
41
"gas": "0x5513",
42
"gasUsed": "0xbb8",
43
"to": "0x0000000000000000000000000000000000000001",
44
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e",
45
"output": "0x000000000000000000000000ed2ff3d1c231565c8348acf10cde5fcd440e3f08",
46
"type": "STATICCALL"
47
},
48
{
49
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
50
"gas": "0x3478",
51
"gasUsed": "0x2dcb",
52
"to": "0x6eaf8762bb858a9c432614a354751d4269c51831",
53
"input": "0xd345216c000000000000000000000000dd9e752d8cd7864c8b67bf22be9bfc760a03863000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095",
54
"value": "0x0",
55
"type": "CALL"
56
}
57
],
58
"value": "0x0",
59
"type": "DELEGATECALL"
60
}
61
],
62
「價值」: "0x0",
63
"type": "CALL"
64
}
65
},
66
{
67
"txHash": "0x1f5526a34f7864495bb7bd6e124773755b742b9ebd1284c48b9cd59e3b8a7f35",
68
"result": {
69
"from": "0x051420781850c9749e11c16c78175fa36df56586",
70
"gas": "0x5208",
71
"gasUsed": "0x5208",
72
"to": "0x051420781850c9749e11c16c78175fa36df56586",
73
"輸入": "0x",
74
"value": "0x7a7b4d830c00",
75
"type": "CALL"
76
}
77
},
78
{
79
"txHash": "0x130d1b9d8f1898a2357239a2da41a54d8ed5416f03ac0a9a8125a46bf37ed4c7",
80
"result": {
81
"from": "0xb492f52dab0487861494d4f53fcfeedc1c962492",
82
"gas": "0x5208",
83
"gasUsed": "0x5208",
84
"to": "0xb492f52dab0487861494d4f53fcfeedc1c962492",
85
"輸入": "0x",
86
「價值」: "0x0",
87
"type": "CALL"
88
}
89
}
90
]
91
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
"txHash": "0x6cc56a0fd329eb2334aab05b4ddea02c3eee0ffca86477c6eca15f5c09b4dade",
7
"result": {
8
"from": "0xdd9e752d8cd7864c8b67bf22be9bfc760a038630",
9
"gas": "0x13622",
10
"gasUsed": "0x132a4",
11
"to": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
12
"input": "0x77f64b8200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c3e3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f61cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d701c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e1c0000000000000000000000000000000000000000000000000000000000",
13
「呼叫」: [
14
{
15
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
16
"gas": "0xbee4",
17
"gasUsed": "0xbe4a",
18
"to": "0xadd29dd9c7e81ca18e82be4546661be0edaa3596",
19
"input": "0x77f64b8200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c3e3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f61cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d701c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e1c0000000000000000000000000000000000000000000000000000000000",
20
"calls": [
21
{
22
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
23
"gas": "0x897f",
24
"gasUsed": "0xbb8",
25
"to": "0x0000000000000000000000000000000000000001",
26
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001ce3d57206b851c7485dbee092d77a759658321dbb2f2a88c6fff31c70f54596257130bcca4895fe0e0454f2f71fee0ed5ca060fb230bfae581a4d8dcecda682f6",
27
"output": "0x000000000000000000000000e6909876804194aea034b0f7217ac10bd2a54032",
28
"type": "STATICCALL"
29
},
30
{
31
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
32
"gas": "0x6f48",
33
"gasUsed": "0xbb8",
34
"to": "0x0000000000000000000000000000000000000001",
35
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001cf4aed36727cb0f26ae4c7d544be31b62f3772f435bd9cbe03bacbc881453de612ad1ac0a0e41ad4d766d9ac95497740a6df43516095617b01184dd3429ba0d70",
36
"output": "0x00000000000000000000000062d5b0d79b6c72fc6ad92252c1e5fb5a2f81d1fb",
37
"type": "STATICCALL"
38
},
39
{
40
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
41
"gas": "0x5513",
42
"gasUsed": "0xbb8",
43
"to": "0x0000000000000000000000000000000000000001",
44
"input": "0xac7095c292a344d11ab0ceb229decf61137c059801f12b553f2ed31a4313d9d0000000000000000000000000000000000000000000000000000000000000001c92d8813cd0bdb788b333516f7e238aa06ce5534bd0f7f0f7de5366cc51317f9172407f12d418136f28b44627e5286ddd8d9a67eb72e46a1dfee10f1153e4136e",
45
"output": "0x000000000000000000000000ed2ff3d1c231565c8348acf10cde5fcd440e3f08",
46
"type": "STATICCALL"
47
},
48
{
49
"from": "0x0a05d8c72bb1991e526b0357491043fadeb40ef9",
50
"gas": "0x3478",
51
"gasUsed": "0x2dcb",
52
"to": "0x6eaf8762bb858a9c432614a354751d4269c51831",
53
"input": "0xd345216c000000000000000000000000dd9e752d8cd7864c8b67bf22be9bfc760a03863000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095",
54
"value": "0x0",
55
"type": "CALL"
56
}
57
],
58
"value": "0x0",
59
"type": "DELEGATECALL"
60
}
61
],
62
「價值」: "0x0",
63
"type": "CALL"
64
}
65
},
66
{
67
"txHash": "0x1f5526a34f7864495bb7bd6e124773755b742b9ebd1284c48b9cd59e3b8a7f35",
68
"result": {
69
"from": "0x051420781850c9749e11c16c78175fa36df56586",
70
"gas": "0x5208",
71
"gasUsed": "0x5208",
72
"to": "0x051420781850c9749e11c16c78175fa36df56586",
73
"輸入": "0x",
74
"value": "0x7a7b4d830c00",
75
"type": "CALL"
76
}
77
},
78
{
79
"txHash": "0x130d1b9d8f1898a2357239a2da41a54d8ed5416f03ac0a9a8125a46bf37ed4c7",
80
"result": {
81
"from": "0xb492f52dab0487861494d4f53fcfeedc1c962492",
82
"gas": "0x5208",
83
"gasUsed": "0x5208",
84
"to": "0xb492f52dab0487861494d4f53fcfeedc1c962492",
85
"輸入": "0x",
86
「價值」: "0x0",
87
"type": "CALL"
88
}
89
}
90
]
91
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用