Ali3NXSGD Swap Pairs' Stats in Avalanche DEXs
    Updated 2025-03-18
    select symbol_in || ' => ' || symbol_out as Trading_Pair,
    count (distinct tx_hash) as TX_Count,
    count (distinct origin_from_address) as Traders_Count,
    sum (case when token_in = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e' then amount_in
    when token_out = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e' then amount_out end) as Total_Trading_Volume,
    sum (coalesce(amount_in_usd,amount_out_usd)) as Total_USD_Trading_Volume,
    avg (case when token_in = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e' then amount_in
    when token_out = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e' then amount_out end) as Average_Trading_Volume,
    avg (coalesce(amount_in_usd,amount_out_usd)) as Average_USD_Trading_Volume,
    from avalanche.defi.ez_dex_swaps
    where token_in in ('0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e')
    or token_out = '0xb2f85b7ab3c2b6f62df06de6ae7d09c010a5096e'
    group by 1
    order by 2 desc






    Last run: about 1 month ago
    TRADING_PAIR
    TX_COUNT
    TRADERS_COUNT
    TOTAL_TRADING_VOLUME
    TOTAL_USD_TRADING_VOLUME
    AVERAGE_TRADING_VOLUME
    AVERAGE_USD_TRADING_VOLUME
    1
    USDC => XSGD542102202169645261.129032125499912.032984.8730734412208.183693388
    2
    XSGD => USDC526762339170539132.404278126094772.553169.3421621712343.376991767
    3
    XSGD => WAVAX518691942117011040.51148386404106.751979.0450826471461.380241015
    4
    WAVAX => XSGD494342108122245688.80112190894232.942158.102017851604.629410186
    5
    USDt => XSGD7219166.792554124.051.874073641.393820225
    6
    avUSD => XSGD271074.26980955.52.7507336672.055555556
    7
    XSGD => USDt2518196.990262145.057.879610485.802
    8
    XSGD => avUSD11560.71478845.335.5195261824.120909091
    8
    600B
    19s