Query editor
/* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. */SELECTdate_trunc('day', block_time) AS day,project,COUNT(DISTINCT "taker") AS unique_users,COUNT(DISTINCT tx_hash) AS txns,SUM(amount_usd) AS usd_volumeFROM dex.tradesWHERE blockchain = 'ethereum'AND block_time >= now() - INTERVAL '120' dayGROUP BY 1,2ORDER BY day DESC