SniperTop Traded Tokens by Volume copy
    Updated 5 days ago
    with pangolin as ( select block_timestamp,
    tx_hash,
    origin_from_address,
    pool_name,
    symbol_in,
    symbol_out,
    case when amount_in_usd is null then amount_out_usd
    when amount_out_usd is null then amount_in_usd
    when amount_in_usd>=amount_out_usd then amount_in_usd
    when amount_out_usd>amount_in_usd then amount_out_usd end as amount_usd
    from avalanche.defi.ez_dex_swaps
    where platform LIKE '%pangolin%'
    and block_timestamp::date >= '2025-01-01'
    )
    ,
    tbl1 as (select
    symbol_in as token,
    'Sell' as type,
    sum(amount_usd) as volume,
    count(DISTINCT tx_hash) as swaps
    from pangolin
    WHERE amount_usd is not null
    group by 1,2
    order by 3 desc
    limit 10)
    ,
    tbl2 as (select
    symbol_out as token,
    'Buy' as type,
    sum(amount_usd) as volume,
    count(DISTINCT tx_hash) as swaps
    from pangolin
    WHERE amount_usd is not null
    group by 1,2
    order by 3 desc
    limit 10)
    Last run: 5 days ago
    TOKEN
    TYPE
    VOLUME
    SWAPS
    1
    WAVAXSell20730798.58503334
    2
    PNGSell9254696.5389300
    3
    QISell1881537.5315028
    4
    USDCSell1798541.6242415
    5
    USDtSell1558807.7429178
    6
    WETH.eSell1214596.0616095
    7
    USDT.eSell1119865.0227957
    8
    LINK.eSell695790.910601
    9
    USDC.eSell647700.7724485
    10
    XAVASell536660.28803
    11
    WAVAXBuy20834197.81309620
    12
    PNGBuy9006565.6789876
    13
    QIBuy1857348.8812520
    14
    USDCBuy1839075.24203867
    15
    USDtBuy1581853.0128938
    16
    WETH.eBuy1218680.4717552
    17
    USDT.eBuy1156193.9230162
    18
    LINK.eBuy700142.5711824
    19
    USDC.eBuy670061.6426807
    20
    XAVABuy532629.810291
    20
    658B
    4s