eth

Ethereum (ETH)

Method: POST debug_traceBlockByNumber

dropdown

POST debug_traceBlockByNumber

Method not allowed

Returns full trace of all invoked opcodes of all transactions included in the block.

Parameters

quantity|tag - None

Integer representing a block number or one of the string tags latest, earliest, or pending, as described in Block Parameter.

Object - None

request options (all optional and default to 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_traceBlockByNumber",
"params": [null, null],
"id": "getblock.io"}'


Response

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