跳转至主要内容

trace_rawTransaction RPC 方法

正在加载...

更新于
2026年5月21日

trace_rawTransaction RPC 方法

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

参数

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

退货

数组
数组
正在加载...
输出
字符串
正在加载...
stateDiff
对象
正在加载...
trace
数组
正在加载...
动作
对象
正在加载...
来自
字符串
正在加载...
callType
字符串
正在加载...
气体
字符串
正在加载...
输入
字符串
正在加载...
字符串
正在加载...
字符串
正在加载...
结果
对象
正在加载...
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
“gas”: "0x7a120",
14
“输入”: "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f07244567000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
“to”: "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
“value”: "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
“输出”: "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
“子轨迹”: 1,
23
“traceAddress”: [],
24
"类型": "call"
25
},
26
{
27
"action": {
28
“来自”: "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
“callType”: "call",
30
“gas”: "0x73e5f",
31
“输入”: "0x",
32
“to”: "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
“value”: "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
“输出”: "0x"
38
},
39
“子轨迹”: 0,
40
“traceAddress”: [
41
0
42
],
43
"类型": "call"
44
}
45
],
46
"vmTrace": {
47
“代码”: "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
“ops”: [
49
{
50
“成本”: 3,
51
"ex": {
52
“mem”: null,
53
“push”: [
54
"0x60"
55
],
56
“商店”: null,
57
“已使用”: 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
“成本”: 3,
64
"ex": {
65
“mem”: null,
66
“push”: [
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
“gas”: "0x7a120",
14
“输入”: "0xa9059cbb000000000000000000000000d46e8dd67c5d32be8058bb8eb970870f07244567000000000000000000000000000000000000000000000000de0b6b3a7640000",
15
“to”: "0xdac17f958d2ee523a2206206994597c13d831ec7",
16
“value”: "0x0"
17
},
18
"result": {
19
"gasUsed": "0x51c8",
20
“输出”: "0x0000000000000000000000000000000000000000000000000000000000000001"
21
},
22
“子轨迹”: 1,
23
“traceAddress”: [],
24
"类型": "call"
25
},
26
{
27
"action": {
28
“来自”: "0xdac17f958d2ee523a2206206994597c13d831ec7",
29
“callType”: "call",
30
“gas”: "0x73e5f",
31
“输入”: "0x",
32
“to”: "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
33
“value”: "0x0"
34
},
35
"result": {
36
"gasUsed": "0x0",
37
“输出”: "0x"
38
},
39
“子轨迹”: 0,
40
“traceAddress”: [
41
0
42
],
43
"类型": "call"
44
}
45
],
46
"vmTrace": {
47
“代码”: "0x608060405260043610610087577c01000000000000000000000000000000000000000000000000000000006000350463095ea7b3811461008c57806318160ddd146100d...",
48
“ops”: [
49
{
50
“成本”: 3,
51
"ex": {
52
“mem”: null,
53
“push”: [
54
"0x60"
55
],
56
“商店”: null,
57
“已使用”: 16756199
58
},
59
"pc": 0,
60
"sub": null
61
},
62
{
63
“成本”: 3,
64
"ex": {
65
“mem”: null,
66
“push”: [
67
"0x40"
68
],
69
“商店”: null,
70
“已使用”: 16756196
71
},
72
"pc": 2,
73
"sub": null
74
}
75
]
76
}
77
}
78
]
79
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用