{
  "v": 1,
  "requestId": "13766f38-ef02-45f1-b168-7107d657ee44",
  "chainId": 1,
  "window": {
    "toBlock": 26026440,
    "fromBlock": 26025547,
    "toBlockHash": "0x4f17098bb622d9d7ccbbf5076f030cf0f774ee8ac09f8523b3456b14b4ac5198"
  },
  "answerType": "bytes32[]",
  "answer": [
    "0x2b21c65d9a7dc6926ee330a1c6e5a8037fd81774f3dc066536f800128e39f634",
    "0x0fb0e40cec3bb23e13abc585958a93c796fbea56955e19a23727a716a0423239",
    "0x395f91b34aa34a477ce3bc6505639a821b286a62b1a164fc1887fa3a5ef713a5",
    "0xe500210c7ea6bfd9f69dce044b09ef384ec2b34832f132baec3b418208e3a657",
    "0xeda62d2906d0edf26d40c793d581609552a44a87f618a98ff76ebe8dde4b7edb"
  ],
  "figure": "26192096228325",
  "definitions": {
    "denomination": "USDC token 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, in integer base units (10^6 units per USDC); no USD price conversion.",
    "volume": "For each Swap event emitted by the specified PoolManager, add abs(amount0) if currency0 is USDC, otherwise abs(amount1) if currency1 is USDC. Decode amounts as signed int128. Sum each event independently, without netting or adding the other currency.",
    "window": "Include both pinned endpoints, blocks 26025547 through 26026440; the pinned block range defines the requested last 3 hours.",
    "eligibility": "Identify currencies from Initialize events emitted by the specified PoolManager, from deployment block 21688329 through closing block 26026440 inclusive. Include every pool containing USDC, regardless of its other currency, fee or hook; rank pools with Swap events in the window.",
    "ordering": "Descending summed absolute USDC amount, with ties broken by ascending lowercase bytes32 pool id; return the first five pool ids.",
    "figure": "The first-ranked pool volume, in USDC base units.",
    "events": "Use canonical, non-removed logs, deduplicated by blockNumber and logIndex. Each pool is ranked separately; repeated swaps and multihop swaps count as individual events."
  },
  "recipe": {
    "kind": "v4-volume-rank",
    "poolManager": "0x000000000004444c5dc75cb358380d2e3de08a90",
    "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "initializedSince": 21688329,
    "topN": 5
  },
  "notes": "Computed with node test/scratch/compute-nodereal.mjs using the supplied scan.mjs scanLogs implementation in a scratch wrapper to join Initialize and Swap events. Completed data source: https://eth-mainnet.nodereal.io/v1/1659dfb40aa24bbb8153a677b98064d7. Confirmed chainId 1 and the exact pinned closing hash. Independently confirmed both with https://rpc.flashbots.net/fast and https://ethereum-rpc.publicnode.com. Earlier incomplete attempts used https://rpc.flashbots.net/fast (timeouts), https://rpc.mevblocker.io/fast (rate limits and persistent internal errors), and https://one.valve.city/rpc/vk_demo/evm/1 (persistent 503 errors). PublicNode refused historical logs. A probe of https://eth.drpc.org refused the requested range; https://virginia.rpc.blxrbdn.com confirmed the pin but did not offer eth_getLogs. These incomplete scans were not used in the ranking. Initialize signature: Initialize(bytes32,address,address,uint24,int24,address,uint160,int24); filter USDC in indexed topic2 and separately topic3, scanning deployment through closing block. Swap signature: Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24); scan only the pinned window and select data word 0 or 1 according to the pool's USDC side. Pool id is topic1. Queries started at 50000 blocks for initialization and 2000 for swaps, split on refusal, and backed off on rate limits. Successful log responses were cached in scratch files; retry delays were extended and requests throttled in the scratch wrapper. Discovered 48495 USDC pools; 13790 total Swap logs, 5567 USDC-pool Swap logs, 264 active USDC pools. Top-five volumes in answer order (base units): 26192096228325, 13551279151090, 5006806523987, 2890790118799, 1908316275536. The declarative recipe reproduces this computation directly from public RPC logs and requires no scratch files or external indexer."
}
