Query editor
WITH hourly_mints AS (SELECTDATE_TRUNC('hour', block_time) as hour,COUNT(*) as hourly_countFROM base.logsWHERE contract_address = 0x0E688f5DCa4a0a4729946ACbC44C792341714e08AND topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efAND topic1 = 0x0000000000000000000000000000000000000000000000000000000000000000AND block_time >= TIMESTAMP '2024-10-25 00:00:00'AND block_time < TIMESTAMP '2024-10-26 00:00:00'GROUP BY 1)SELECThour,hourly_count,SUM(hourly_count) OVER (ORDER BY hour) as cumulative_mintsFROM hourly_mintsORDER BY hour ASC