Query editor
-- Aftermath Perps (iperps). Event types keep the original package id-- 0x3ec740df... across package upgrades, so no package filter is needed.-- Amounts are 1e18 fixed point; one FilledTakerOrder per taker order.-- Cumulative from the iperps launch (first package published 2026-08-18).WITH daily AS (SELECTDATE_TRUNC('day', FROM_UNIXTIME(timestamp_ms / 1000)) AS trade_day,SUM((CAST(json_extract_scalar(event_json, '$.quote_asset_delta_bid') AS DOUBLE)+ CAST(json_extract_scalar(event_json, '$.quote_asset_delta_ask') AS DOUBLE)) / 1e18) AS daily_volume_usdFROM sui.eventsWHERE date >= DATE '2026-08-18'AND event_type = '0x3ec740df8428aa9c93aaef7f8cc1542ac3194fd014826b51bfe245346d64efc7::events::FilledTakerOrder'GROUP BY 1)SELECTtrade_day,ROUND(SUM(daily_volume_usd) OVER (ORDER BY trade_day ROWS UNBOUNDED PRECEDING), 2) AS cumulative_volume_usdFROM dailyORDER BY 1 ASC