{
  "v": 1,
  "requestId": "6860b292-58c4-4b6e-a7d0-20dc45005c53",
  "chainId": 8453,
  "window": {
    "fromBlock": 51565824,
    "toBlock": 51567624,
    "toBlockHash": "0xdca9a235084015216d47c84719d0a66ef205a5fee13211cde27c3a8aa3e46d32"
  },
  "answerType": "address[]",
  "answer": [
    "0x221bbc26af59c39be64d22374566a4869f1b6c2b",
    "0x153b2192c1f5e2f6756fcef48812901004704887",
    "0xe8c49ab5969f3a7575c891cc3a45b6214843d1f3",
    "0xe16c6e5e702f873c7a974b877148cae2e00879bd",
    "0x80fc05cff4c1f40029023042e2df4c1ae186f568"
  ],
  "figure": "61223889051491184318",
  "definitions": {
    "denomination": "native ETH (currency 0x0000000000000000000000000000000000000000), the absolute swapped ETH amount of every Swap in a pool that pairs the token with native ETH, summed per token",
    "exclude": "WETH 0x4200000000000000000000000000000000000006, cbBTC 0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf, USDC 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 (the request's definitions pin cbBTC as the Base 'WBTC')",
    "pool": "a Uniswap v4 pool on the Base PoolManager 0x498581ff718922c3f8e6a244956af099b2652b2b whose Initialize log has currency0 == 0x0000000000000000000000000000000000000000; the token is its currency1. WETH-paired pools are not native-ETH pools and are not counted",
    "volume": "sum over Swap logs in blocks 51565824..51567624 inclusive of |amount0| (the int128 native-ETH delta), in wei; both directions count. A token with several native-ETH pools is the sum of its pools; in this window every top-10 token has exactly one such pool, so per-pool and per-token rankings are identical",
    "order": "descending by volume, ties by ascending token address; only the first position (head 1) is the answer, the rest are context"
  },
  "recipe": {
    "kind": "v4-volume-rank",
    "poolManager": "0x498581ff718922c3f8e6a244956af099b2652b2b",
    "token": "0x0000000000000000000000000000000000000000",
    "initializedSince": 25352561,
    "topN": 5,
    "yield": "token",
    "exclude": [
      "0x4200000000000000000000000000000000000006",
      "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
      "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
    ]
  },
  "notes": "Computed from public RPC eth_getLogs only. Step 1: Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee) logs (topic0 0x40e9cecb9f5f1f1c5b9c97dec2917b7ee92e57ba5563708daca94dd84ad7112f) from the PoolManager over blocks 51565824..51567624 in 100-200 block chunks: 21371 swaps in 1079 pools; |amount0| summed per pool id. This step was run on three operators (base.rpc.sentio.xyz, mainnet.base.org, gateway.tenderly.co/public/base) and the per-pool sums are byte-identical across them. Step 2: Initialize(bytes32 indexed id, address indexed currency0, address indexed currency1, ...) logs (topic0 0xdd466e674ea557f56295e2d0218a125ea4b4f0f6f3307b95f85e6110838d6438) with currency0 = 0x0 from block 25352561 to 51567624 on base.rpc.sentio.xyz in 10000-block chunks (2622 requests, halved on 'too many results'): 235115 native-ETH pools; 341 of the 1079 active pools pair with native ETH, the other 738 are ERC20/ERC20 and are outside the question: their Initialize logs were separately fetched by pool id over the same range (all 738 found, currency0 is USDC for 151, WETH for 113, none native on either side), so the native-ETH pool set is complete. The Initialize logs of the top 12 pools were re-read on mainnet.base.org and gateway.tenderly.co and match (pool id, currency0, currency1, block). All six endpoints answered eth_chainId 0x2105 and returned the pinned hash for block 51567624. Excluded pools that would otherwise rank: native/cbBTC 0x2fbe93bf... at 75210623003242927814 wei; native/USDC at 28872e15 wei. Result (wei of ETH): 0x221bbc26af59c39be64d22374566a4869f1b6c2b 61223889051491184318 (pool 0xaba521b45747f16e2f8c1ecb9e16715a582957b47698d5765152e91128a014d4, 156 swaps); 0x153b2192c1f5e2f6756fcef48812901004704887 58695423026367472244; 0xe8c49ab5969f3a7575c891cc3a45b6214843d1f3 57462779510376735143; 0xe16c6e5e702f873c7a974b877148cae2e00879bd 54981484433090445996; 0x80fc05cff4c1f40029023042e2df4c1ae186f568 53479214399800501754. Public endpoints that could not serve the historical Initialize scan: nodies/1rpc (50 blocks), blastapi/drpc (10 blocks), publicnode/swiftnodes (archive gated), blockpi/blxr/pocket/baseazul (pruned before ~50M), meowrpc (no eth_getLogs)."
}
