Query editor
withfee_collected as (selecttx_hashfromtokens.transferswhereto = 0x1Dd9eef96646ad40d58DA28D1878e7f223d5E8Baand token_standard = 'erc20')selectsum(amount_usd) as usd,coalesce(token_bought_symbol, 'Not specified') as symbolfromdex.tradesjoin fee_collected USING (tx_hash)group by2