debug_traceBlockByHash {disallowed} - Ethereum Classic
Example code for the debug_traceBlockByHash {disallowed} json-rpc method. Сomplete guide on how to use debug_traceBlockByHash {disallowed} json-rpc in GetBlock.io Web3 documentation.
Parameters
block hash
- data
Block hash.
Object
- None
request options (all optional and default to false)
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--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"
}
Previousdebug_traceBlock {disallowed} - Ethereum ClassicNextdebug_traceBlockByNumber {disallowed} - Ethereum Classic
Last updated