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,SUM(amount_usd) as usd_volumeFROM dex.tradesWHERE blockchain = 'arbitrum'AND block_time >= now() - INTERVAL '{{days}}' dayGROUP BY 1,2ORDER BY day DESC