select count (distinct tx_hash) as TX_Count,
count (distinct origin_from_address) as Traders_Count,
sum(coalesce(amount_in_usd,amount_out_usd,0)) as USD_Trading_Volume,
avg(coalesce(amount_in_usd,amount_out_usd,0)) as Average_USD_Trading_Volume
from avalanche.defi.ez_dex_swaps
where token_in in ('0x0f669808d88b2b0b3d23214dcd2a1cc6a8b1b5cd')
or token_out = '0x0f669808d88b2b0b3d23214dcd2a1cc6a8b1b5cd'