Query editor
with fee_collected as (selecttx_hashfromtokens.transferswhereto = 0x1Dd9eef96646ad40d58DA28D1878e7f223d5E8Baand token_standard = 'erc20')select sum(amount_usd) as usd, block_date, blockchain from dex.tradesjoin fee_collected USING (tx_hash)group by 2, 3