跳转至主要内容

trace_rawTransaction RPC Method

正在加载...

更新于
2026年5月21日

trace_rawTransaction RPC Method

This RPC method is included in the Free Trial with limited usage. Upgrade your plan to get full access and higher limits. Learn more on our pricing page.

参数

数据
字符串
必填
正在加载...
数组
数组
必填
正在加载...
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 ,并开始构建
免费开始使用