{
  "v": 1,
  "requestId": "709997c6-4ebd-49c1-9c20-7ba374bf9197",
  "chainId": 4663,
  "window": {
    "toBlock": 68438396,
    "fromBlock": 68402747,
    "toBlockHash": "0x96cdb533c1c183f1d43f02be10dfe7e795a92803dc700805711d43c59760f94e"
  },
  "answerType": "uint256",
  "answer": "160753967606503252576",
  "figure": "160753967606503252576",
  "definitions": {
    "volume": "sum of |amount1| over Swap events of pool id 0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567 emitted by 0x8366a39cc670b4001a1121b8f6a443a643e40951; amount1 is the PLTR side",
    "denomination": "PLTR base units with 18 decimals; 10^18 base units equal 1 PLTR. No scaling or rounding is applied.",
    "window": "Inclusive block range from 68402747 through 68438396; the pinned range defines the last hour.",
    "aggregation": "Decode amount1 as signed int128, take its absolute value for each matching Swap, then sum. Count each canonical non-removed event once by block number and log index; count all swaps in both directions, with no 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": "amount1",
    "abs": true,
    "filter": {
      "id": "0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567"
    }
  },
  "notes": "Computed from public RPC https://rpc.ordofi.network using: node .imd/reads/skills/oracle-assess/scripts/scan.mjs --rpc https://rpc.ordofi.network --from 68402747 --to 68438396 --pin 0x96cdb533c1c183f1d43f02be10dfe7e795a92803dc700805711d43c59760f94e --address 0x8366a39cc670b4001a1121b8f6a443a643e40951 --event 'Swap(bytes32,address,int128,int128,uint160,uint128,int24,uint24)' --topic1 0xf49ee5b66c4e7163026e5d25e6a1f93cff46dca4d3752f712d181d9392c1d567 --sum data:1 --signed --abs --chunk 2000. The complete scan returned 83 matching events across 70 blocks in 18 nonoverlapping chunks, with sum 160753967606503252576. amount1 is the second non-indexed ABI data word (data:1); signed int128 values are sign-extended to 256 bits in event data. The scan reported chainId 4663 and confirmed the pinned closing hash. Independent eth_chainId and eth_getBlockByNumber checks on https://rpc-robinhood.blockmachine.io also confirmed chainId 4663 and the same closing hash."
}
