Query editor
-- This query has been migrated to run on DuneSQL.-- If you need to change back because you’re seeing issues, use the Query History view to restore the previous version.-- If you notice a regression, please email [email protected]./* deposit by time */WITHalldeposits AS (SELECTDATE_TRUNC('week', "block_time") AS dt,COUNT(DISTINCT "from") AS unique_addresses,AVG(COUNT(DISTINCT "from")) OVER (ORDER BYDATE_TRUNC('week', block_time) ROWS BETWEEN 4 PRECEDINGAND CURRENT ROW) AS avg_uni,COUNT(*) AS txs,AVG(COUNT(*)) OVER (ORDER BYDATE_TRUNC('week', block_time) ROWS BETWEEN 4 PRECEDINGAND CURRENT ROW) AS avg_allFROMethereum.transactionsWHERE"to" = 0xaBEA9132b05A70803a4E85094fD0e1800777fBEFAND block_time > CURRENT_TIMESTAMP - INTERVAL '9' monthGROUP BY1ORDER BY1 DESC)SELECT*FROMalldepositsORDER BY1 DESC