Ali3NBy DEX XSGD Trading Stats in DEX Avalanche copy
    Updated 2025-03-18
    select case when platform ilike '%trader-joe%' then 'Trader Joe'
    when platform ilike '%uniswap%' then 'Uniswap'
    when platform ilike '%pharaoh%' then 'Pharaoh' else initcap(platform) end as dex,
    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,
    count (distinct tx_hash) as Swaps,
    count (distinct origin_from_address) as Traders_Count
    from avalanche.defi.ez_dex_swaps
    where token_in in ('0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e')
    or token_out = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e'
    group by 1



    Last run: about 1 month ago
    DEX
    USD_TRADING_VOLUME
    AVERAGE_USD_TRADING_VOLUME
    SWAPS
    TRADERS_COUNT
    1
    Pharaoh257560577.421597.3937745441105632873
    2
    Pangolin269.12.3605263169735
    3
    Balancer24221295455.24549549544427
    4
    Trader Joe168910418.682607.849601359449642323
    4
    187B
    11s