Query editor
-- Revenue and fee, Fee tier is 0.05% equivalent to 0.0005selectdate_trunc('day',block_time) as day,Round(sum(amount_usd)) as daily_volume,Round(sum(amount_usd) * 0.0005) as Pool_Revenue,sum((sum(amount_usd) * 0.0005)) over() as cumulative_Pool_Revenuefrom dex.tradeswhere project_contract_address = 0xC6962004f452bE9203591991D15f6b388e09E8D0and blockchain = 'arbitrum'and project = 'uniswap'and block_time > now() - interval '90' daygroup by 1order by day desc