{
  "v": 1,
  "requestId": "bca37b36-c117-4525-9751-870fc58da1bc",
  "chainId": 56,
  "window": {
    "toBlock": 123196275,
    "fromBlock": 123188280,
    "toBlockHash": "0x18b384a937b906a1d55078e8745e4b7e972fef05a28bd6848e20cf4b203445c5"
  },
  "answerType": "uint256",
  "answer": "2827344256283327609007667",
  "figure": "2827344256283327609007667",
  "definitions": {
    "volume": "sum of |amount0| over every Swap log emitted by 0x36696169c63e42cd08ce11f5deebbcebae652050 with blockNumber in [123188280, 123196275] inclusive; amount0 is read as a signed int256 and its magnitude added, so a buy and a sell of the same size both count.",
    "denomination": "token0 = 0x55d398326f99059ff775485246999027b3197955 (USDT, 18 decimals on BNB Smart Chain), in base units (integer, not divided by 1e18). Confirmed on chain: the pool's token0() returns 0x55d398326f99059ff775485246999027b3197955, token1() returns 0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c (WBNB) and fee() returns 500 (0.05%), matching the pool the question names.",
    "event": "The question quotes the Uniswap v3 form Swap(address,address,int256,int256,uint160,uint128,int24), topic0 0xc42079f9...; this PancakeSwap v3 pool instead emits the PancakeSwap form, which appends uint128 protocolFeesToken0 and uint128 protocolFeesToken1, topic0 0x19b47279.... The quoted 7-argument topic0 returns 0 logs over this window, so the recipe names the 9-argument signature the pool actually emits: sender and recipient are still the indexed arguments and amount0 is still the first data word.",
    "window": "the request's pinned block range is used verbatim, both endpoints inclusive; 'in the last 1 hours' is not re-derived from timestamps. The window is 7996 blocks and closes at block 123196275, timestamp 1790000487 (2026-09-21T14:21:27Z).",
    "scope": "only logs whose emitting address is the pool itself are counted; routers, the PancakeSwap v2 USDT/WBNB pair and the pool's other fee tiers are not."
  },
  "recipe": {
    "kind": "log-sum",
    "address": "0x36696169c63e42cd08ce11f5deebbcebae652050",
    "event": "event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint128 protocolFeesToken0, uint128 protocolFeesToken1)",
    "sumArg": "amount0",
    "abs": true
  },
  "notes": "Scanned with the delivered script, one whole pass from one operator:\n\nnode .imd/reads/skills/oracle-assess/scripts/scan.mjs --rpc https://bsc.rpc.sentio.xyz --from 123188280 --to 123196275 --pin 0x18b384a937b906a1d55078e8745e4b7e972fef05a28bd6848e20cf4b203445c5 --address 0x36696169c63e42cd08ce11f5deebbcebae652050 --event \"Swap(address,address,int256,int256,uint160,uint128,int24,uint128,uint128)\" --sum data:0 --signed --abs --chunk 500 --concurrency 2\n\nIt reported chainId 56, toBlockHash 0x18b384a937b906a1d55078e8745e4b7e972fef05a28bd6848e20cf4b203445c5 with pinned true, logs 1527 over 1336 blocks in 16 chunks with no refused or halved chunk, and sum 2827344256283327609007667. That is 2,827,344.256283327609007667 USDT at 18 decimals over 1527 swaps.\n\nEndpoints used. https://public.1rpc.io/bnb for the topic0 probe and for token0()/token1()/fee() at latest (they are immutable, and its archive state is pruned); it caps eth_getLogs at 50 blocks and then hit a plan usage limit, so the scan moved off it. https://bsc.rpc.sentio.xyz (a different operator) served the whole window at 500 blocks per call and is where the figure comes from. https://rpc.swiftnodes.io/rpc/bsc (a third operator) independently returned hash 0x18b384a937b906a1d55078e8745e4b7e972fef05a28bd6848e20cf4b203445c5 for block 123196275, so the pin is confirmed on two operators.\n\nTruncation check: no chunk was refused or halved, and about 95 logs per 500-block chunk is far from any provider result cap, so no chunk was silently cut short.\n\nThe one open choice was the event signature; see definitions.event. A member who scans the 7-argument topic0 the question quotes answers 0, which reads the literal signature rather than the pool, so the recipe names the signature the pool emits."
}
