Pinax
    Standard Ethereum JSON-RPC 2.0
    Resources & endpoints
    debug

    debug_traceBlockByHash

    Trace block by hash

    Traces every transaction in the block identified by block hash. Available only on RPC endpoints with Reth archive node support.
    POST
    https://eth.rpc.pinax.network/v1/<API_KEY>/
    Available only on RPC endpoints with Reth archive node support.

    Required parameters

    NameTypeDescription
    blockHashrequired
    hash32-byte block hash.
    e.g. 0x9b8f4e3a3f2c1d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f

    Optional parameters

    NameTypeDescription
    tracerConfig
    jsonOptional tracer configuration.
    e.g. {"tracer":"callTracer","timeout":"30s"}

    Request body

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "debug_traceBlockByHash",
      "params": [
        "0x9b8f4e3a3f2c1d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f",
        "{\"tracer\":\"callTracer\",\"timeout\":\"30s\"}"
      ]
    }

    Response

    200 OK

    Array of per-transaction trace results.

    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": [
        {
          "txHash": "0x88df01...",
          "result": {
            "type": "CALL",
            "gasUsed": "0x5208"
          }
        }
      ]
    }