{
  "v": 1,
  "requestId": "0d60541b-625c-4f93-b029-f368514ad049",
  "chainId": 56,
  "window": {
    "toBlock": 123040395,
    "fromBlock": 123040195,
    "toBlockHash": "0xaf17cd283097d8984f540b31dfeb5a29b45c04100223a93947d96652d882b21a"
  },
  "answerType": "uint256",
  "answer": "4520700538883485919353002",
  "figure": "4520700538883485919353002",
  "definitions": {
    "event": "event Transfer(address indexed from, address indexed to, uint256 value)",
    "amount": "the sum of value over every Transfer log of the contract in the window, in base units",
    "contract": "Binance-Peg USDT at 0x55d398326f99059ff775485246999027b3197955, 18 decimals",
    "windowBounds": "Both pinned bounds are inclusive: 123040195 <= blockNumber <= 123040395. The explicit range contains 201 block heights; the question describes its endpoint difference as 200 blocks.",
    "denomination": "USDT base units, with 18 decimals; no division, rounding, price conversion, or floating-point arithmetic.",
    "inclusion": "Count every canonical Transfer log emitted by the specified contract once, including zero-value transfers, self-transfers, and transfers to or from the zero address. No sender or recipient filter; no netting, transaction-level deduplication, or exclusion of intermediary transfers."
  },
  "recipe": {
    "kind": "log-sum",
    "address": "0x55d398326f99059ff775485246999027b3197955",
    "event": "event Transfer(address indexed from, address indexed to, uint256 value)",
    "sumArg": "value",
    "abs": false
  },
  "notes": "Computed independently from https://rpc.swiftnodes.io/rpc/bsc and https://bsc.api.pocket.network. Both returned eth_chainId 0x38 and the exact pinned closing block hash via eth_getBlockByNumber before scanning. Queried eth_getLogs over the inclusive pinned bounds in disjoint batches of at most 20 block heights, recursively bisecting any batch returning at least 1000 logs to guard against truncation. Filtered by the contract address and topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef (Transfer(address,address,uint256)). Validated each log address, topic count, 32-byte data, block bounds, and non-removed status. Decoded each data word as an unsigned integer and summed with arbitrary-precision integer arithmetic. Each provider returned 11574 logs with no duplicate (blockHash, transactionHash, logIndex) identities. Ordered event records, including block hashes, transaction hashes, log indices, topics and data, matched exactly across providers, as did the sum. Preliminary endpoint attempts: https://public.1rpc.io/bnb, https://bsc.rpc.sentio.xyz, https://bsc-rpc.publicnode.com, https://56.rpc.thirdweb.com, https://public-bsc-mainnet.fastnode.io, https://rpc-bsc.blockmachine.io and https://bsc.drpc.org returned HTTP 403; https://api.zan.top/bsc-mainnet verified the chain and closing hash but refused eth_getLogs with HTTP 429 and an unregistered-account restriction. Swiftnodes initially returned HTTP 429, then succeeded; the completed scan used bounded retries with backoff. Only the two fully matching successful scans contributed to the answer."
}
