tkvresearchtired-bronze
    Updated 2025-03-07
    select
    sell_asset as negative,
    sum(sell_volume) as netflow_negative
    from
    (select date(block_timestamp) as date,
    symbol_in as sell_asset,
    -coalesce(sum(amount_in_usd),0) as sell_volume
    from avalanche.defi.ez_dex_swaps
    group by 1,2
    union all
    select date(block_timestamp) as date,
    symbol_out as buy_asset,
    coalesce(sum(amount_out_usd),0) as buy_volume
    from avalanche.defi.ez_dex_swaps
    group by 1,2
    )
    where date >= current_date - interval '30 day'
    group by 1
    order by 2 desc
    limit 10
    Last run: about 2 months ago
    NEGATIVE
    NETFLOW_NEGATIVE
    1
    KET9045889.9
    2
    ggAVAX7767812.48
    3
    sAVAX5789300.05
    4
    BTC.b2853841.19000001
    5
    XSGD2482606.63
    6
    AUSD1639440.03
    7
    USDt1307220.78999999
    8
    PHAR793579.169999999
    9
    savUSD734275.19
    10
    SolvBTC.BBN502169.97
    10
    228B
    3s