Query editor
WITH eth_in AS (SELECTblock_time,tx_hash,value / 1e18 AS eth_receivedFROM abstract.tracesWHERE"to" = 0x3ac2e3ef24c93896c0a61968888121be6e56beb2AND value > 0AND success = TRUEAND block_time >= TIMESTAMP '2025-05-23'),hourly_summary AS (SELECTDATE_TRUNC('hour', block_time) AS hour,COUNT(*) AS num_txs,SUM(eth_received) AS eth_spentFROM eth_inGROUP BY 1ORDER BY 1)SELECT*,SUM(eth_spent) OVER (ORDER BY hour) AS total_spent,SUM(num_txs) OVER (ORDER BY hour) AS total_txsFROM hourly_summaryORDER BY hour DESC;