select sum(tx_fee),block_timestamp::date from ethereum.core.fact_transactions
where from_address in (select distinct origin_from_address from ethereum.core.ez_dex_swaps
where origin_to_address='0xe66b31678d6c16e9ebf358268a790b763c133750') and status='SUCCESS'
and block_timestamp::date > getdate() - interval '90 days'
group by 2