eth

Ethereum (ETH)

Method: POST debug_traceBlockByHash

dropdown
POST

debug_traceBlockByHash

方法不允许

返回块中包含的所有事务的所有调用操作码的完整跟踪。

Parameters

block hash - 数据

块哈希。

Object -

请求选项(都是可选的,默认为 false)

Request

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


Response

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

It’s Black Friday Sale!
Don’t Miss.