Query editor
with txs as (select block_time, bytea2numeric("data")/1e18 AS value, pricefrom ethereum.logs ejoin prices."layer1_usd" pon p.minute = date_trunc('minute', e.block_time)and block_number > 13975055and contract_address= '\xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'AND topic1 = '\xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'AND topic3 = '\x0000000000000000000000005924a28caaf1cc016617874a2f0c3710d881f3c1'and p.symbol = 'ETH')select date_trunc('day', block_time) as "Date", sum(value * price * 50) as "Volume($)", sum(value * 50) as "Volume(ETH)",sum(value * price) as "Fee($)", sum(value) as "Fee(ETH)" from txswhere date_trunc('month', "block_time") > now() - interval '6 months'group by 1 order by 1