跳至主要內容

debug_traceTransaction RPC Method

載入中...

更新於
2026年3月27日

debug_traceTransaction RPC Method

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

參數

交易哈希值
字串
必填
載入中...
物件
物件
載入中...
追蹤器
字串
載入中...
callTracer
字串
載入中...
prestateTracer
字串
載入中...
tracerConfig
物件
載入中...
onlyTopCall
布林值
載入中...
timeout
字串
載入中...

退貨

結果
物件
載入中...
來自
字串
載入中...
氣體
字串
載入中...
gasUsed
字串
載入中...
字串
載入中...
輸入
字串
載入中...
呼叫
陣列
載入中...
來自
字串
載入中...
氣體
字串
載入中...
gasUsed
字串
載入中...
字串
載入中...
輸入
字串
載入中...
字串
載入中...
類型
字串
載入中...
字串
載入中...
類型
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
6
"gas": "0x24dce",
7
"gasUsed": "0x24935",
8
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
9
"input": "0x15373e3d000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001",
10
"calls": [
11
{
12
"from": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
13
"gas": "0x1c51a",
14
"gasUsed": "0xc208",
15
"to": "0x63d1447d01432e18ac769968fdf78ccc70015172",
16
"input": "0xfcc77c180000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f0000000000000000000000000000000000000000000000000000000000000000",
17
"output": "0x0000000000000000000000000000000000000000000000000000000000000064",
18
「呼叫」: [
19
{
20
"from": "0x63d1447d01432e18ac769968fdf78ccc70015172",
21
"gas": "0x1992e",
22
"gasUsed": "0x1419",
23
"to": "0x403ecf8ba28e58ce4d1847c1c95ac54651fab151",
24
"input": "0xc2bc2efc0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f",
25
"output": "0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bc6418ce24fd96fe86f799a7f3167dcc2ea028a8562e1d88bf2282abc3992fb1",
26
"類型": "STATICCALL"
27
},
28
{
29
"from": "0x63d1447d01432e18ac769968fdf78ccc70015172",
30
"gas": "0x178e6",
31
"gasUsed": "0x71a3",
32
"to": "0x5cf1bf680fff2ecb146ef977bf46c4cae46ba4c6",
33
"input": "0x861a34bd0000000000000000000000000000000000000000000000000000000000000002",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000064",
35
"類型": "STATICCALL"
36
}
37
],
38
"type": "STATICCALL"
39
}
40
],
41
「價值」: "0x0",
42
"type": "CALL"
43
}
44
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
6
"gas": "0x24dce",
7
"gasUsed": "0x24935",
8
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
9
"input": "0x15373e3d000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000001",
10
"calls": [
11
{
12
"from": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
13
"gas": "0x1c51a",
14
"gasUsed": "0xc208",
15
"to": "0x63d1447d01432e18ac769968fdf78ccc70015172",
16
"input": "0xfcc77c180000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f0000000000000000000000000000000000000000000000000000000000000000",
17
"output": "0x0000000000000000000000000000000000000000000000000000000000000064",
18
「呼叫」: [
19
{
20
"from": "0x63d1447d01432e18ac769968fdf78ccc70015172",
21
"gas": "0x1992e",
22
"gasUsed": "0x1419",
23
"to": "0x403ecf8ba28e58ce4d1847c1c95ac54651fab151",
24
"input": "0xc2bc2efc0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f",
25
"output": "0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bc6418ce24fd96fe86f799a7f3167dcc2ea028a8562e1d88bf2282abc3992fb1",
26
"類型": "STATICCALL"
27
},
28
{
29
"from": "0x63d1447d01432e18ac769968fdf78ccc70015172",
30
"gas": "0x178e6",
31
"gasUsed": "0x71a3",
32
"to": "0x5cf1bf680fff2ecb146ef977bf46c4cae46ba4c6",
33
"input": "0x861a34bd0000000000000000000000000000000000000000000000000000000000000002",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000064",
35
"類型": "STATICCALL"
36
}
37
],
38
"type": "STATICCALL"
39
}
40
],
41
「價值」: "0x0",
42
"type": "CALL"
43
}
44
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用