alitaslimiSwaps Over Time
    Updated 6 days ago
    with
    -------------------- Swaps --------------------
    swaps as (
    select
    block_timestamp,
    tx_hash,
    origin_from_address as swapper,
    case platform
    when 'balancer' then 'Balancer'
    when 'curve' then 'Curve'
    when 'trader-joe-v1' then 'Trader Joe'
    when 'trader-joe-v2' then 'Trader Joe'
    when 'uniswap-v3' then 'Uniswap'
    when 'woofi' then 'WOOFi'
    else platform
    end as dex,
    pool_name,
    token_in as from_token,
    token_out as to_token,
    symbol_in as from_symbol,
    symbol_out as to_symbol,
    case
    when amount_in_usd - amount_out_usd > 100 then amount_out_usd
    when amount_in_usd - amount_out_usd < -100 then amount_in_usd
    else (amount_in_usd + amount_out_usd) / 2
    end as amount_usd,
    iff(amount_in_usd - amount_out_usd between -10 and 10, (amount_out_usd - amount_in_usd) / amount_out_usd * 100, 0) as slippage
    from
    avalanche.defi.ez_dex_swaps
    -- where
    -- token_in in (
    -- '0xc891eb4cbdeff6e073e859e987815ed1505c2acd', -- EURC
    -- '0x7678e162f38ec9ef2bfd1d0aaf9fd93355e5fa0b', -- VEUR
    -- '0x228a48df6819ccc2eca01e2192ebafffdad56c19' -- VCHF
    -- )
    -- or token_out in (
    Last run: 6 days ago
    Date
    Token
    Swaps
    Swappers
    Volume
    1
    2025-03-03 00:00:00.000EURC10831491272279
    2
    2025-03-03 00:00:00.000VCHF15316
    3
    2025-03-03 00:00:00.000VEUR10312
    4
    2025-02-24 00:00:00.000EURC69299517290
    5
    2025-02-24 00:00:00.000VCHF211222
    6
    2025-02-24 00:00:00.000VEUR16419
    7
    2025-02-17 00:00:00.000EURC71385559250
    8
    2025-02-17 00:00:00.000VCHF10518
    9
    2025-02-17 00:00:00.000VEUR11413
    10
    2025-02-10 00:00:00.000EURC43771185299
    11
    2025-02-10 00:00:00.000VCHF292018
    12
    2025-02-10 00:00:00.000VEUR13413
    13
    2025-02-03 00:00:00.000EURC2686537654
    14
    2025-02-03 00:00:00.000VCHF451898
    15
    2025-02-03 00:00:00.000VEUR251132
    16
    2025-01-27 00:00:00.000EURC4074118825
    17
    2025-01-27 00:00:00.000VCHF8613
    18
    2025-01-27 00:00:00.000VEUR638
    19
    2025-01-20 00:00:00.000EURC1554621454
    20
    2025-01-20 00:00:00.000VCHF6311
    ...
    233
    11KB
    7s