📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST debug_standardTraceBlockToFile

dropdown

方法 RPC debug_standardTraceBlockToFile 例如 Ethereum Classic (ETC)

POST debug_standardTraceBlockToFile

Method not allowed

生成包含块跟踪的文件。 为块中的每个事务生成一个单独的文件。

您还可以在块中指定特定事务的跟踪文件。

使用debug_standardtracebadblocktofile查看无效块的跟踪。

Parameters

blockHash - 数据

块哈希。

txHash - 数据

交易哈希。 选修的。 如果省略,则为块中的每个事务生成一个跟踪文件。

disableMemory - 布尔

指定是否在跟踪过程中捕获EVM内存。 默认为true。

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "debug_standardTraceBlockToFile",
"params": [null, null, false],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}