🚀 We’re excited to announce our $35m Series A led by Tiger Global: Press Release, Coindesk, Bloomberg, Business Insider & RefreshMiami!

Contents

debug_traceBlockByHash RPC method

Parameters:

  1. Hash - Hash of the block to be traced.

Returns:

  1. Array - Block traces, which have the following object shape (all return types are hexadecimal representations of their data type unless otherwise stated):

    Results - Trace Object, which has the following fields:

    Calls - Array of transactions in the block with the following fields.

    from - Address

    gas - Quantity

    gasUsed - Quantity

    input - Data

    otput - Data

    to - Address

    type - Data

    value - Quantity

Code Examples:

curl http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ \
 -X POST \
 -H "Content-Type: application/json" \
 --data '{"method":"debug_traceBlockByHash","params":["0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'
Ready to try QuickNode? Start your 7-day free trial