Query editor
1select2 date_trunc('week',block_date) as month,3 project,4 sum(amount_usd) as usd_volume5from dex.trades6where blockchain = 'base'7-- and project in ('uniswap','aerodrome')8and block_date > timestamp '2024-01-01'9group by 1, 2
select
date_trunc('week',block_date) as month,
project,
sum(amount_usd) as usd_volume
from dex.trades
where blockchain = 'base'
-- and project in ('uniswap','aerodrome')
and block_date > timestamp '2024-01-01'
group by 1, 2