Query editor
SELECTCOUNT(*) AS total_trades,COUNT(DISTINCT tx_hash) AS unique_transactions,COUNT(DISTINCT tx_from) AS unique_traders,ROUND(SUM(amount_usd), 2) AS total_volume_usdFROM dex.tradesWHERE blockchain = 'ethereum'AND (token_bought_address = 0x829f4B62EEBE12Af653b4dD4fFc480966F7d7f09OR token_sold_address = 0x829f4B62EEBE12Af653b4dD4fFc480966F7d7f09)AND block_time >= NOW() - INTERVAL '30' DAY;