Query editor
SELECTproject,COUNT(DISTINCT tx_hash) as transactions,SUM(amount_usd) as volume_usd,AVG(amount_usd) as amount_usd_avg,COUNT(DISTINCT tx_from) as swappersFROM dex.tradesWHERE blockchain IN ('optimism', 'base', 'arbitrum', 'polygon', 'ethereum', 'bnb', 'avalanche_c', 'celo')GROUP BY 1