{
  "v": 1,
  "requestId": "a638078d-8185-4d0b-a2ee-d69eceecd0e7",
  "chainId": 4663,
  "window": {
    "fromBlock": 66719268,
    "toBlock": 66754987,
    "toBlockHash": "0x7fb1472e57f516ce8cfed20e90397394329dd06b028481ef043eccc067a797f2"
  },
  "answerType": "bytes32[]",
  "answer": [
    "0xbac3aa3b91584a53a579b3c999a56756e954e59247e497bad1d25a4334bde551"
  ],
  "figure": "952906213255965835311",
  "definitions": {
    "denomination": "native ETH, currency 0x0000000000000000000000000000000000000000, summed as the absolute swapped amount on the ETH side; pools without native ETH excluded",
    "volumeUnit": "wei",
    "windowInclusivity": "fromBlock and toBlock are both inclusive",
    "ranking": "descending by summed native-ETH volume; ties broken by ascending pool id",
    "resultSelection": "the first pool from the top-5 ranking is returned because head is 1"
  },
  "recipe": {
    "kind": "v4-volume-rank",
    "poolManager": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
    "token": "0x0000000000000000000000000000000000000000",
    "initializedSince": 9505,
    "topN": 5
  },
  "notes": "Using public JSON-RPC only, read PoolManager Initialize logs from block 9505 through 66754987 to map pool ids whose currency0 is native ETH, then read every PoolManager Swap log from blocks 66719268 through 66754987 inclusive. For each eligible pool, ABI-decode signed amount0 from Swap data, sum abs(amount0) in wei, rank descending with ascending pool-id tie-breaking, and return the first entry because the request pins head=1. The winning sum is 952906213255965835311 wei. The closing block hash was independently read with eth_getBlockByNumber and matched the pinned hash. RPC log queries may be split into smaller block or pool-id batches to remain below provider result limits without changing the computation. Event topics used were Initialize(bytes32,address,address,uint24,int24,address,uint160,int24) = 0xdd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d6438 and Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24) = 0x40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f."
}
