Query editor
/*Table(s): dex.tradesReason: Based on general keywordsTable(s): dex.poolsReason: Curated dataset recommendationsTable(s): dex_finance_arbitrum.DexSwapPair_evt_SwapReason: Based on contract addresses or possible project names*/WITH locked_or_burned_liquidity AS (SELECTpool,token0,token1FROM dex.poolsWHEREblockchain IN (SELECT DISTINCTblockchainFROM dex.tradesWHEREblockchain IN ('ethereum', 'polygon', 'fantom', 'bnb', 'arbitrum', 'optimism')) /* Condition to check liquidity is locked or burned */AND (version LIKE '%locked%' OR version LIKE '%burned%'))SELECTt.token_pair,DATE_TRUNC('day', t.block_time) AS day,SUM(t.amount_usd) AS total_usd_volumeFROM dex.trades AS tJOIN locked_or_burned_liquidity AS lON (t.token_bought_address = l.token0 AND t.token_sold_address = l.token1)OR (t.token_bought_address = l.token1 AND t.token_sold_address = l.token0)GROUP BYt.token_pair,2ORDER BYtotal_usd_volume DESCLIMIT 10