Query editor
select date_trunc('day', d.block_time) as period, d.blockchain, sum(d.amount_usd) as volume, count(d.tx_hash) as num_swaps, count(distinct d.tx_from) as unique_swap_addressesfrom dex.trades d-- inner join evms.transactions t on d.blockchain = t.blockchain-- and d.tx_hash = t.hash and d.tx_index = t.index-- and d.block_number = t.block_number-- and d.block_date >= date('2025-01-21')where project = 'uniswap' and version = '4'and block_date >= date('2025-01-21')group by 1,2