{
  "v": 1,
  "requestId": "75c20f5c-80d0-4305-99cc-e716a8f42b80",
  "chainId": 1,
  "window": {
    "toBlock": 26030868,
    "fromBlock": 26023726,
    "toBlockHash": "0xb5e37fb42e293aa702061916dc20bafa717edfecb3815b09b48771d5f4bb1852"
  },
  "answerType": "uint256",
  "answer": "6472885627247906322",
  "figure": "6472885627247906322",
  "definitions": {
    "scope": "contract 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d (Bored Ape Yacht Club), OpenSea slug boredapeyachtclub, verified via /chain/ethereum/contract lookup",
    "T1": "26030868 timestamp = 1790053979 (2026-09-22T03:32:59Z)",
    "T0": "T1-86400 = 1789967579 (2026-09-21T03:32:59Z)",
    "F(t)": "min price.current/payment.quantity (buyer-payable, fee-inclusive) among ACTIVE single-NFT fixed-price ETH/WETH listing orders for the contract, from OpenSea order events plus current order-book snapshot",
    "endInference": "an order's alive interval ends at min(expiration_date, on-chain Seaport OrderCancelled timestamp, on-chain Seaport OrderFulfilled timestamp) intersected with [T0,T1)",
    "twapFormula": "floor(sum(F_i_wei*duration_i_seconds)/86400) via exact BigInt sweep-line integration, piecewise-constant"
  },
  "recipe": {
    "kind": "panel",
    "source": "https://api.opensea.io/api/v2/events/collection/boredapeyachtclub?event_type=listing (order creations), https://api.opensea.io/api/v2/listings/collection/boredapeyachtclub/all (current order book snapshot), https://api.opensea.io/api/v2/events/collection/boredapeyachtclub?event_type=sale (fulfillment corroboration)"
  },
  "notes": "Scope: BAYC contract 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d, OpenSea slug boredapeyachtclub confirmed via chain/contract lookup (avoids Art Blocks-style ambiguity; BAYC is a dedicated ERC-721, no wrapped/migrated variant in scope). T1=1790053979 (toBlock timestamp read on-chain), T0=T1-86400=1789967579. Window [T0,T1) integrated with exact BigInt arithmetic. Universe of orders: (1) OpenSea order-creation events (event_type=listing) for [T0-7d,T1] (7133 events, captures the dense relisting activity that starts almost exactly at T0 -- 6940 creations in-window vs only ~196 in the prior 7 days, i.e. a bot/sweep regime change at T0) plus (2) the current full active-listing snapshot (/listings/collection/boredapeyachtclub/all, 301 orders, 279 created before T0) for orders that predate the event fetch and are still live now. Filtered to single-NFT, BAYC contract, ETH or WETH (1:1) fixed-price orders; price = OpenSea's fee-inclusive buyer-payable total (payment.quantity / price.current.value), cross-checked equal for 14 orders present in both sources. End-of-life for each order = min(its expiration_date, an on-chain Seaport 1.6 (0x0000000000000068f116a894984e2db1123eb395) OrderCancelled log, an OrderFulfilled log) restricted to blocks 26023726-26030868 via eth_getLogs on the archival RPC (3930 OrderCancelled, 11014 OrderFulfilled logs decoded Seaport-wide, matched by orderHash; no separate cancel event exists in OpenSea's events API so this on-chain corroboration is required and was used, not the events API, for cancellations). Swept 7128 distinct qualifying order-hashes (7037 with non-empty alive-interval inside [T0,T1)) with a sorted-multiset min-price sweep; the active-listing set was NEVER empty at any instant in [T0,T1) (max uncovered gap = 0s), so no interval required carrying a stale price across an unknown gap. sum(F_i*duration_i)=559257318194219106284000 wei*s; TWAP=floor(sum/86400)=6472885627247906322 wei (~6.4729 ETH), consistent with the current live best-listing price of 6467898000000000000 wei fetched at compute time. Limitation: OpenSea's public API has no historical order-book snapshot endpoint, so orders created more than 7 days before T0 that ended (cancel/sale) inside the window before ever reaching the current live snapshot are not individually enumerable; coverage is inferred from continuous non-empty active-listing coverage across the whole window rather than a certified complete order census, which the 0-gap check is offered to bound. No missing-data gap was found requiring a substitute price."
}
