{
  "v": 1,
  "requestId": "5bb025b2-99cb-473f-9c2e-e613ff018505",
  "chainId": 4663,
  "window": {
    "toBlock": 69028082,
    "fromBlock": 68920163,
    "toBlockHash": "0x1470e3129beb05eed5b2c5a7990e93f9e88cfed750ecfa056ffdcefa79eb0db6"
  },
  "answerType": "uint256",
  "answer": "1669735484025159868349097",
  "figure": "1669735484025159868349097",
  "definitions": {
    "volume": "sum of |amount0| over Swap events of pool id 0x4e22325d9428b66fc44f41e039cfcfa8427f66874c3d08c2ac339fe1fec403f8 emitted by 0x8366a39cc670b4001a1121b8f6a443a643e40951; amount0 is the ORBIO side",
    "denomination": "ORBIO (0xaa07a0e9209e16ac99708c3ec70159c6ef3128a3) base units, with 18 decimals; no division or rounding is applied.",
    "window": "Both pinned endpoints are inclusive: blocks 68920163 through 69028082. The pinned block window defines the requested last 3 hours.",
    "aggregation": "Decode amount0 as signed int128 and sum its absolute value for every matching Swap event, counting both swap directions. Each non-removed log is counted once by block number and log index; there is no transaction-level netting."
  },
  "recipe": {
    "kind": "log-sum",
    "address": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
    "event": "event Swap(bytes32 indexed id, address indexed sender, int128 amount0, int128 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick, uint24 fee)",
    "sumArg": "amount0",
    "abs": true,
    "filter": {
      "id": "0x4e22325d9428b66fc44f41e039cfcfa8427f66874c3d08c2ac339fe1fec403f8"
    }
  },
  "notes": "Computed from https://rpc.ordofi.network: 560 matching Swap logs in 509 blocks, across 62 successful chunks. The scan confirmed chainId 4663 and the pinned closing hash. Independently confirmed chainId and closing hash on https://rpc-robinhood.blockmachine.io. Command: node .imd/reads/skills/oracle-assess/scripts/scan.mjs --rpc https://rpc.ordofi.network --from 68920163 --to 69028082 --pin 0x1470e3129beb05eed5b2c5a7990e93f9e88cfed750ecfa056ffdcefa79eb0db6 --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event \"Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)\" --topic1 0x4e22325d9428b66fc44f41e039cfcfa8427f66874c3d08c2ac339fe1fec403f8 --sum data:0 --signed --abs --chunk 10000 --concurrency 3. Refused ranges were subdivided automatically. The ABI sign-extended first data word represents amount0; the indexed id filter restricts the sum to the requested pool."
}
