Afonso_DiazTop Token Pairs
    Updated 9 hours ago
    with

    main as (
    select
    tx_id,
    block_timestamp,
    swapper,
    swap_from_symbol as symbol_in,
    swap_to_symbol as symbol_out,
    abs(nvl(swap_from_amount_usd, swap_to_amount_usd)) as amount_usd,
    case
    when platform ilike 'jupiter%' then 'Jupiter'
    when platform ilike 'raydium%' then 'Raydium'
    when platform ilike 'meteora%' then 'Meteora'
    when platform ilike 'saber%' then 'Saber'
    when platform ilike 'orca%' then 'Orca'
    else initcap(platform)
    end as platform
    from
    solana.marinade.ez_swaps
    where
    succeeded
    and 'MSOL' in (symbol_in, symbol_out)
    )

    select
    symbol_in || ' -> ' || symbol_out as token_pair,
    count(distinct tx_id) as swaps,
    count(distinct swapper) as swappers,
    sum(amount_usd) as volume_usd,
    avg(amount_usd) as average_amount_usd
    from
    main
    group by 1
    order by volume_usd desc
    limit 10

    Last run: about 9 hours ago
    TOKEN_PAIR
    SWAPS
    SWAPPERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    1
    SOL -> MSOL35257602603563607157752.831019.040779858
    2
    MSOL -> SOL39868262529192133395746.25532.974788261
    3
    MSOL -> USDC200980179781708533959.88340.356441978
    4
    USDC -> MSOL1874891128358383318215.94195.450455914
    5
    JITOSOL -> MSOL12066625831120840718.211001.140967582
    6
    MSOL -> JITOSOL11713330094110159641.37940.129220141
    7
    MSOL -> USDT43950117133109573388.28231.998078098
    8
    USDT -> MSOL4679422960294656911.8188.84774736
    9
    MSOL -> BSOL1037611896573589583.95708.89406458
    10
    BSOL -> MSOL907151565066197813.52729.444452623
    10
    579B
    3s