跳转至主要内容

debug_traceBlock RPC Method

正在加载...

更新于
2026年3月27日

debug_traceBlock RPC Method

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

参数

字符串
必填
正在加载...
对象
对象
必填
正在加载...
tracer
字符串
正在加载...
callTracer
字符串
正在加载...
prestateTracer
字符串
正在加载...
tracerConfig
对象
正在加载...
onlyTopCall
布尔型
正在加载...

退货

结果
正在加载...
类型
正在加载...
来自
正在加载...
正在加载...
正在加载...
气体
正在加载...
gasUsed
正在加载...
输入
正在加载...
输出
正在加载...
错误
正在加载...
revertReason
正在加载...
呼叫
正在加载...
请求
回复
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"type": "CALL",
7
"from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",
8
"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
9
"value": "0x0",
10
"gas": "0x15f90",
11
"gasUsed": "0xd880",
12
"input": "0xa9059cbb000000000000000000000000c6cde7c39eb2f0f0095f41570af89efc2c1ea828000000000000000000000000000000000000000000000000000000003b9aca00",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
14
"calls": [
15
{
16
"type": "STATICCALL",
17
"from": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
18
"to": "0xb46d4e66c0445e3b1a7df818f5fc5e9aedb90da2",
19
"gas": "0xbf83",
20
"gasUsed": "0x383",
21
"input": "0x70a082310000000000000000000000005a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",
22
"output": "0x00000000000000000000000000000000000000000000000000000002540be400"
23
}
24
]
25
},
26
{
27
"type": "CALL",
28
"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
29
"to": "0x6b175474e89094c44da98b954eedeac495271d0f",
30
"value": "0x0",
31
"gas": "0x30d40",
32
"gasUsed": "0x10a88",
33
"input": "0x23b872dd0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000000054b419212a0b334000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"calls": []
36
}
37
]
38
}
1
{
2
“jsonrpc”: "2.0",
3
"id": 1,
4
“结果”: [
5
{
6
"type": "CALL",
7
"from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",
8
"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
9
"value": "0x0",
10
"gas": "0x15f90",
11
"gasUsed": "0xd880",
12
"input": "0xa9059cbb000000000000000000000000c6cde7c39eb2f0f0095f41570af89efc2c1ea828000000000000000000000000000000000000000000000000000000003b9aca00",
13
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
14
"calls": [
15
{
16
"type": "STATICCALL",
17
"from": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
18
"to": "0xb46d4e66c0445e3b1a7df818f5fc5e9aedb90da2",
19
"gas": "0xbf83",
20
"gasUsed": "0x383",
21
"input": "0x70a082310000000000000000000000005a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",
22
"output": "0x00000000000000000000000000000000000000000000000000000002540be400"
23
}
24
]
25
},
26
{
27
"type": "CALL",
28
"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
29
"to": "0x6b175474e89094c44da98b954eedeac495271d0f",
30
"value": "0x0",
31
"gas": "0x30d40",
32
"gasUsed": "0x10a88",
33
"input": "0x23b872dd0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000000054b419212a0b334000",
34
"output": "0x0000000000000000000000000000000000000000000000000000000000000001",
35
"calls": []
36
}
37
]
38
}
还没有账号吗?
只需几秒钟即可创建您的 Quicknode 端点,并开始构建
免费开始使用