跳转至主要内容

debug_traceBlockByHash RPC 方法

正在加载...

更新于
2026年5月21日

debug_traceBlockByHash RPC 方法

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

参数

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

退货

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