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