debug_traceBlockByNumber
It accepts a block number and will replay the block that is already present in the database.
Parameters:
Returns:
Example:
// Request
curl https://story-odyssey-evm.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByNumber","params":["latest", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": {as described above}
}Last updated
Was this helpful?