Query editor
with pares_legit as (select token_pair, blockchainfrom dex.tradeswhere project = 'uniswap'and version = '4'and block_time > now() - interval '90' dayand amount_usd < 1e8group by 1, 2having count(distinct taker) >= 50)selectdate_trunc('day', t.block_time) as dia,t.blockchain,sum(t.amount_usd) as volume_usdfrom dex.trades tjoin pares_legit lon l.token_pair = t.token_pairand l.blockchain = t.blockchainwhere t.project = 'uniswap'and t.version = '4'and t.block_time > now() - interval '90' dayand t.block_time < current_dateand t.amount_usd < 1e8group by 1, 2order by 1