{
  "v": 1,
  "requestId": "7edd9b9e-5032-4bae-bce1-5641e867b7d4",
  "chainId": 4663,
  "window": {
    "fromBlock": 68008010,
    "toBlock": 68223284,
    "toBlockHash": "0x2a7f7cbdd728f85d89392b2d98f35affe214a6cabd39f06e321ce1dcf5459598"
  },
  "answerType": "bytes32[]",
  "answer": [
    "0xd2fc01ee6f8400b6b4ea3b341a188568f2bd6c72b07b96741a82396fa6eb8f02",
    "0xaf5bcd88bb2b6084ca18319385b61fcbe17ec579032074861004f2668168406f",
    "0x154b4e21b36cfd3378a8a431f6f827dfde60b57a6d04964e75f79bd0d722f390",
    "0x548343e136ca06a2af653a47204ba7127d9ed87e4d695dd3bc1dc07db0187549",
    "0xf4d8cd41f670d325c6ce4f317e801e888b332591265037e52ea7381cfb25cad0"
  ],
  "figure": "4255502814868583438905",
  "definitions": {
    "denomination": "IMD at 0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127, the absolute swapped IMD amount of every Swap in a pool that includes IMD, summed per pool",
    "window": "the last 6 hours is taken to be exactly the pinned blocks 68008010 to 68223284 inclusive",
    "unit": "figure is the raw IMD amount in base units (18 decimals) swapped in the leading pool, i.e. |amount0| or |amount1| of each PoolManager Swap, whichever side is IMD",
    "poolSet": "pools whose Initialize event has IMD as currency0 or currency1, from block 9505 to the closing block; pools with no swaps in the window are not ranked"
  },
  "recipe": {
    "kind": "v4-volume-rank",
    "poolManager": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
    "token": "0x5f7bb59365ce557c26dbcaa4ee9d39a4b95b7127",
    "initializedSince": 9505,
    "topN": 5
  },
  "notes": "Checked eth_chainId=0x1237 and the closing block hash 0x2a7f7cbd... on rpc.ordofi.network, rpc-robinhood.blockmachine.io, robinhood-rpc.publicnode.com and rpc.mainnet.chain.robinhood.com. Pool discovery: eth_getLogs for Initialize(bytes32,address,address,uint24,int24,address,uint160,int24) on the PoolManager from block 9505 to 68223284, topic filter currency0=IMD (19 pools) and currency1=IMD (6 pools), 25 pools, on rpc.mainnet.chain.robinhood.com (the only endpoint that accepted the full-history topic-filtered query; blockmachine caps at 10000 blocks, publicnode requires a token for archive ranges, ordofi answered 'network busy'). Volume: Swap(bytes32 indexed id,address indexed sender,int128 amount0,int128 amount1,...) filtered to those 25 pool ids over exactly 68008010..68223284; summed abs(amount) of the IMD side per pool; 74 swaps over 7 pools, no duplicate (txHash,logIndex). Cross-check: the same Swap scan re-run on rpc-robinhood.blockmachine.io in 9999-block pages (with 429 backoff) produced a byte-identical ranking and 74 swaps. Leader 0xd2fc01ee... (native ETH / IMD pool, IMD is currency1) with 4255502814868583438905 base units over 35 swaps; runner-up 0xaf5bcd88... with 1689183664389202854033 over 27 swaps, so the top position is not close. Positions 3-5 are small. Not independently cross-checked on a second endpoint: the Initialize pool discovery (single call on the official endpoint), though a pool missing from it would need to have been dropped silently by a node that returned no error."
}
