/

Ethereum Classic (ETC)

etc

Ethereum Classic (ETC)

Method: POST debug_traceBlockByHash

dropdown
POST

debug_traceBlockByHash

Method not allowed

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

Parameters

block hash - data

Block hash.

Object - None

request options (all optional and default to false)

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


Response

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