BlockTrackeroverall metrics by platform
    Updated 2025-05-26
    select
    date_trunc('day', block_timestamp) as date,
    case when platform ilike 'trader-joe%' then 'Trader Joe'
    when platform ilike 'pharaoh%' then 'Pharaoh'
    when platform ilike 'uniswap%' then 'Uniswap'
    when platform ilike 'hashflow%' then 'Hashflow'
    when platform ilike 'kyberswap%' then 'Keberswap'
    else INITCAP(platform) end as Platform_,
    count(distinct origin_from_address) as swapper,
    count(distinct tx_hash) as txns,
    sum(txns) over (partition by platform_ order by date) as cumu_xns,
    sum(coalesce(amount_in_usd,amount_out_usd)) as swap_volume,
    sum(swap_volume) over (partition by platform_ order by date) as cumu_swap_volume,
    avg(coalesce(amount_in_usd,amount_out_usd)) as avg_per_txns,
    avg(swap_volume) over (partition by platform_ order by date) as daily_avg_swap_volume,
    avg(swap_volume) over (partition by platform_ order by date rows between 6 preceding and current row) as ma_7
    from avalanche.defi.ez_dex_swaps
    where (token_in = '{{Token_Address}}' or token_out = '{{Token_Address}}')
    and block_timestamp >= (select min(block_timestamp) from avalanche.defi.ez_dex_swaps
    where (token_in = '{{Token_Address}}' or token_out = '{{Token_Address}}'))
    group by date , platform_
    order by date desc



    Last run: 13 days ago
    DATE
    PLATFORM_
    SWAPPER
    TXNS
    CUMU_XNS
    SWAP_VOLUME
    CUMU_SWAP_VOLUME
    AVG_PER_TXNS
    DAILY_AVG_SWAP_VOLUME
    MA_7
    1
    2025-05-28 00:00:00.000Pharaoh4701017397452910922976.31909273350.621010.0773358616785622.0195522419965229.1271429
    2
    2025-05-28 00:00:00.000Trader Joe14740421006449981.9665433584.64102.843539095488310.33313432891589.581428571
    3
    2025-05-28 00:00:00.000Pangolin4411170.87338.60.21753.9835294126.565714286
    4
    2025-05-27 00:00:00.000Pangolin131511132.62337.730.17466666674.0205952386.79
    5
    2025-05-27 00:00:00.000Trader Joe22169520966096317.6165383602.68105.611414474491606.0351879797363.438571428
    6
    2025-05-27 00:00:00.000Pharaoh8242118496435624420738.63898350374.311024.2309537396754514.0925563920345878.8057143
    7
    2025-05-26 00:00:00.000Pangolin8910982.16335.110.244.037469886.784285714
    8
    2025-05-26 00:00:00.000Pharaoh5571998194317223677138.97873929635.681058.385363646620679.0581818218071301.0185714
    9
    2025-05-26 00:00:00.000Trader Joe20667020896563420.8565287285.0778.104495074494600.64446969789308.922857142
    10
    2025-05-25 00:00:00.000Pharaoh3331723192319118735515.59850252496.71978.7647889466490477.0741221416174754.9814286
    11
    2025-05-25 00:00:00.000Pangolin5610891.41332.950.2354.0603658546.561428571
    12
    2025-05-25 00:00:00.000Trader Joe16540320829578827.5565223864.22145.438284133497892.09328244383796.291428571
    13
    2025-05-24 00:00:00.000Pangolin101110833.05331.540.27727272734.093086426.764285714
    14
    2025-05-24 00:00:00.000Pharaoh10261904390596019836973.14831516981.12933.4606907916396284.4701538514908492.7871429
    15
    2025-05-24 00:00:00.000Trader Joe18047020789261046.7465145036.67104.353401709501115.66669230896047.509999999
    16
    2025-05-23 00:00:00.000Pangolin1215107217.14328.491.1426666674.1061256.732857143
    17
    2025-05-23 00:00:00.000Pharaoh14962139188691721628865.09811680007.98902.8202650586292093.0851162813425573.4614286
    18
    2025-05-23 00:00:00.000Trader Joe206690207422100724.4265083989.93109.127215601504527.05372093113628.321428571
    19
    2025-05-22 00:00:00.000Trader Joe2961130206732190807.9464983265.51126.530464191507681.761796875130530.742857142
    20
    2025-05-22 00:00:00.000Pharaoh17612221286552620534396.16790051142.89818.7558277516172274.5538281212350585.8757143
    ...
    376
    42KB
    9s