跳至主要內容

trace_rawTransaction RPC 方法

載入中...

更新於
Mar 20, 2026

trace_rawTransaction RPC 方法

參數

資料
載入中...
陣列
陣列
必填
載入中...
vmTrace
字串
載入中...
追蹤
字串
載入中...
stateDiff
字串
載入中...

退貨

陣列
載入中...
輸出
載入中...
stateDiff
載入中...
追蹤
載入中...
動作
載入中...
來自
載入中...
呼叫類型
載入中...
氣體
載入中...
輸入
載入中...
載入中...
載入中...
結果
載入中...
gasUsed
載入中...
輸出
載入中...
子軌跡
載入中...
traceAddress
載入中...
類型
載入中...
vmTrace
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
「輸出」: "0x",
7
"stateDiff": null,
8
「trace」: [
9
{
10
"action": {
11
「來自」: "0x627306090abab3a6e1400e9345bc60c78a8bef57",
12
「callType」: "call",
13
「氣體」: "0x7a120",
14
"輸入": "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f07244567000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
"到": "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
「價值」: "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
「輸出」: "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
「子軌跡」: 1,
23
「traceAddress」: [],
24
"類型": "呼叫"
25
},
26
{
27
"action": {
28
「來自」: "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
「callType」: "call",
30
「氣體」: "0x73e5f",
31
"輸入": "0x",
32
"到": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
「價值」: "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
「輸出」: "0x"
38
},
39
「子軌跡」: 0,
40
「traceAddress」: [
41
0
42
],
43
"類型": "呼叫"
44
}
45
],
46
"vmTrace": {
47
"程式碼": "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
"ops": [
49
{
50
「成本」: 3,
51
"ex": {
52
"mem": null,
53
「推」: [
54
"0x60"
55
],
56
「商店」: null,
57
「已使用」: 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
「成本」: 3,
64
"ex": {
65
"mem": null,
66
「推」: [
67
"0x40"
68
],
69
「商店」: null,
70
「已使用」 16756196
71
},
72
"pc": 2,
73
"sub": null
74
}
75
]
76
}
77
}
78
]
79
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: [
5
{
6
「輸出」: "0x",
7
"stateDiff": null,
8
「trace」: [
9
{
10
"action": {
11
「來自」: "0x627306090abab3a6e1400e9345bc60c78a8bef57",
12
「callType」: "call",
13
「氣體」: "0x7a120",
14
"輸入": "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f07244567000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
"到": "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
「價值」: "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
「輸出」: "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
「子軌跡」: 1,
23
「traceAddress」: [],
24
"類型": "呼叫"
25
},
26
{
27
"action": {
28
「來自」: "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
「callType」: "call",
30
「氣體」: "0x73e5f",
31
"輸入": "0x",
32
"到": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
「價值」: "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
「輸出」: "0x"
38
},
39
「子軌跡」: 0,
40
「traceAddress」: [
41
0
42
],
43
"類型": "呼叫"
44
}
45
],
46
"vmTrace": {
47
"程式碼": "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
"ops": [
49
{
50
「成本」: 3,
51
"ex": {
52
"mem": null,
53
「推」: [
54
"0x60"
55
],
56
「商店」: null,
57
「已使用」: 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
「成本」: 3,
64
"ex": {
65
"mem": null,
66
「推」: [
67
"0x40"
68
],
69
「商店」: null,
70
「已使用」 16756196
71
},
72
"pc": 2,
73
"sub": null
74
}
75
]
76
}
77
}
78
]
79
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用