跳转至主要内容

trace_rawTransaction RPC Method

正在加载...

更新于
Jan 21, 2026

trace_rawTransaction RPC Method

此 RPC 方法包含在免费试用版中,但使用量有限。升级您的套餐即可获得完整访问权限和更高的使用限额。请访问我们的定价页面了解更多信息。

参数

数据
字符串
必填
正在加载...
数组
数组
必填
正在加载...
vmTrace
正在加载...
trace
正在加载...
stateDiff
正在加载...

退货

数组
正在加载...
输出
正在加载...
stateDiff
正在加载...
trace
正在加载...
动作
正在加载...
来自
正在加载...
callType
正在加载...
气体
正在加载...
输入
正在加载...
正在加载...
正在加载...
结果
正在加载...
gasUsed
正在加载...
输出
正在加载...
子轨迹
正在加载...
traceAddress
正在加载...
类型
正在加载...
vmTrace
正在加载...
请求
回复
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"output": "0x",
7
"stateDiff": null,
8
"trace": [
9
{
10
"action": {
11
"from": "0x627306090abab3a6e1400e9345bc60c78a8bef57",
12
"callType": "call",
13
"gas": "0x7a120",
14
"input": "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f0724456700000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
"to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
"value": "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
"subtraces": 1,
23
"traceAddress": [],
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
"callType": "call",
30
"gas": "0x73e5f",
31
"input": "0x",
32
"to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
"value": "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
"output": "0x"
38
},
39
"subtraces": 0,
40
"traceAddress": [
41
0
42
],
43
"type": "call"
44
}
45
],
46
"vmTrace": {
47
"code": "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
"ops": [
49
{
50
"cost": 3,
51
"ex": {
52
"mem": null,
53
"push": [
54
"0x60"
55
],
56
"store": null,
57
"used": 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
"cost": 3,
64
"ex": {
65
"mem": null,
66
"push": [
67
"0x40"
68
],
69
"store": null,
70
"used": 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
"output": "0x",
7
"stateDiff": null,
8
"trace": [
9
{
10
"action": {
11
"from": "0x627306090abab3a6e1400e9345bc60c78a8bef57",
12
"callType": "call",
13
"gas": "0x7a120",
14
"input": "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f0724456700000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
"to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
"value": "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
"subtraces": 1,
23
"traceAddress": [],
24
"type": "call"
25
},
26
{
27
"action": {
28
"from": "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
"callType": "call",
30
"gas": "0x73e5f",
31
"input": "0x",
32
"to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
"value": "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
"output": "0x"
38
},
39
"subtraces": 0,
40
"traceAddress": [
41
0
42
],
43
"type": "call"
44
}
45
],
46
"vmTrace": {
47
"code": "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
"ops": [
49
{
50
"cost": 3,
51
"ex": {
52
"mem": null,
53
"push": [
54
"0x60"
55
],
56
"store": null,
57
"used": 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
"cost": 3,
64
"ex": {
65
"mem": null,
66
"push": [
67
"0x40"
68
],
69
"store": null,
70
"used": 16756196
71
},
72
"pc": 2,
73
"sub": null
74
}
75
]
76
}
77
}
78
]
79
}
还没有账号吗?
endpoint 几秒钟endpoint 创建您的Quicknode endpoint ,并开始构建
免费开始使用