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='0x881d40237659c251811cec9c364ef91dc08d300c') and status='SUCCESS'
and block_timestamp::date > getdate() - interval '90 days'
group by 2