debug_traceBlockByNumber

This method returns a full stack trace of all invoked opcodes of all transaction that were included in this block by number.

Available only for Archive Mode

Parameters

  1. QUANTITY|TAG - integer of a block number, or the string "earliest", "latest" or "pending", as in the default block parameter.

Returns

Example

// Request
curl -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0xF50D8", {"tracer": "callTracer"}],"id":74}' http://<your-app-id>.ankr.com
//Response