跳转至主要内容

trace_transaction RPC 方法

正在加载...

更新于
2026年3月27日

trace_transaction RPC 方法

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

参数

哈希
字符串
必填
正在加载...

退货

数组
数组
正在加载...
动作
对象
正在加载...
来自
字符串
正在加载...
callType
字符串
正在加载...
气体
字符串
正在加载...
输入
字符串
正在加载...
字符串
正在加载...
字符串
正在加载...
blockHash
字符串
正在加载...
blockNumber
整数
正在加载...
结果
对象
正在加载...
gasUsed
字符串
正在加载...
输出
字符串
正在加载...
子轨迹
整数
正在加载...
traceAddress
数组
正在加载...
交易哈希
字符串
正在加载...
交易头寸
整数
正在加载...
类型
字符串
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"action": {
7
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
8
“callType”: "call",
9
"gas": "0x308f8",
10
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001edc19b822217125f75000000000000000000000000000000000000000000000000000000011ec74b760000000000000000000000000000000000000000000000000000000000000010",
11
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
12
“value”: "0x0"
13
},
14
"blockHash": "0xdc26988945b210a0789308ec242aebb29f030832dcd649a621f68595413ad017",
15
"blockNumber": 760193,
16
"result": {
17
"gasUsed": "0x3e5d",
18
“输出”: "0x"
19
},
20
"subtraces": 1,
21
“traceAddress”: [],
22
"transactionHash": "0xc591a64ae2aec8187443bb3c88c884149d80ca2c0af897b5c2a38be80c921cc6",
23
"transactionPosition": 2,
24
"类型": "call"
25
},
26
{
27
"action": {
28
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
29
"callType": "delegatecall",
30
"gas": "0x2e965",
31
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001edc19b822217125f75000000000000000000000000000000000000000000000000000000011ec74b760000000000000000000000000000000000000000000000000000000000000010",
32
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
33
“value”: "0x0"
34
},
35
"blockHash": "0xdc26988945b210a0789308ec242aebb29f030832dcd649a621f68595413ad017",
36
"blockNumber": 760193,
37
"result": {
38
"gasUsed": "0x2a78",
39
“输出”: "0x"
40
},
41
“子轨迹”: 0,
42
“traceAddress”: [
43
0
44
],
45
"transactionHash": "0xc591a64ae2aec8187443bb3c88c884149d80ca2c0af897b5c2a38be80c921cc6",
46
"transactionPosition": 2,
47
"类型": "call"
48
}
49
]
50
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"action": {
7
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
8
“callType”: "call",
9
"gas": "0x308f8",
10
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001edc19b822217125f75000000000000000000000000000000000000000000000000000000011ec74b760000000000000000000000000000000000000000000000000000000000000010",
11
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
12
“value”: "0x0"
13
},
14
"blockHash": "0xdc26988945b210a0789308ec242aebb29f030832dcd649a621f68595413ad017",
15
"blockNumber": 760193,
16
"result": {
17
"gasUsed": "0x3e5d",
18
“输出”: "0x"
19
},
20
"subtraces": 1,
21
“traceAddress”: [],
22
"transactionHash": "0xc591a64ae2aec8187443bb3c88c884149d80ca2c0af897b5c2a38be80c921cc6",
23
"transactionPosition": 2,
24
"类型": "call"
25
},
26
{
27
"action": {
28
"from": "0x3c2269811836af69497e5f486a85d7316753cf62",
29
"callType": "delegatecall",
30
"gas": "0x2e965",
31
"input": "0x3161b7f600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016f0000000000000000000000000000000000000000000001edc19b822217125f75000000000000000000000000000000000000000000000000000000011ec74b760000000000000000000000000000000000000000000000000000000000000010",
32
"to": "0x4ee2f9b7cf3a68966c370f3eb2c16613d3235245",
33
“value”: "0x0"
34
},
35
"blockHash": "0xdc26988945b210a0789308ec242aebb29f030832dcd649a621f68595413ad017",
36
"blockNumber": 760193,
37
"result": {
38
"gasUsed": "0x2a78",
39
“输出”: "0x"
40
},
41
“子轨迹”: 0,
42
“traceAddress”: [
43
0
44
],
45
"transactionHash": "0xc591a64ae2aec8187443bb3c88c884149d80ca2c0af897b5c2a38be80c921cc6",
46
"transactionPosition": 2,
47
"类型": "call"
48
}
49
]
50
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用