eth

Ethereum (ETH)

Method: POST debug_traceBlock

dropdown

POST debug_traceBlock

Method not allowed

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

Parameters

Block - data

RLP of the block.

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_traceBlock",
"params": [null, null],
"id": "getblock.io"}'


Response

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