Ali3NBy DEX GUNZ Trading Stats in DEX Avalanche
    Updated 6 hours ago
    with pricet as (
    select date_trunc (day,block_timestamp) as day,
    '0x26debd39d5ed069770406fca10a0e4f8d2c743eb' as token_address,
    'GUN' as symbol,
    '18' as decimals,
    median (amount_in_usd/amount_out) as USDPrice
    from avalanche.defi.ez_dex_swaps
    where symbol_in in ('WAVAX','USDC')
    and (token_out = '0x26debd39d5ed069770406fca10a0e4f8d2c743eb')
    and block_timestamp >= '2025-04-01'
    group by 1,2,3,4 having usdprice > 0

    union all

    select hour::date as day,
    token_address,
    'USDC' as symbol,
    decimals,
    avg (price) as usdprice
    from avalanche.price.ez_prices_hourly
    where token_address ilike '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'
    group by 1,2,3,4),

    SimpleSwap as (
    SELECT
    block_timestamp,
    tx_hash,
    decoded_log:maker as maker,
    decoded_log:makerAsset as makerAsset,
    decoded_log:makerAmountReceived as makerAmountReceived,
    decoded_log:taker as taker,
    decoded_log:takerAsset as takerAsset,
    decoded_log:takerAmountReceived as takerAmountReceived,
    decoded_log
    FROM
    avalanche.core.ez_decoded_event_logs
    Last run: about 6 hours agoAuto-refreshes every 24 hours
    DEX
    USD_TRADING_VOLUME
    AVERAGE_USD_TRADING_VOLUME
    SWAPS
    TRADERS_COUNT
    1
    Pharaoh213242.99631589.8243455412296260
    2
    Dexalot28618.30129925498.00788116228539
    3
    Trader Joe11607006.7195.70396904338245795
    4
    Uniswap1180963.150102287.2690708114109269
    4
    197B
    475s