Updated 4 hours ago
    SELECT
    PLATFORM,
    CASE
    WHEN AMOUNT_IN_USD < 10 THEN 'Small (< $10)'
    WHEN AMOUNT_IN_USD BETWEEN 10 AND 100 THEN 'Medium ($10 - $100)'
    WHEN AMOUNT_IN_USD BETWEEN 100 AND 1000 THEN 'Large ($100 - $1,000)'
    ELSE 'Very Large (> $1,000)'
    END AS swap_size_category,
    COUNT(*) AS swap_count,
    AVG(AMOUNT_IN_USD) AS avg_swap_size
    FROM
    aptos.defi.ez_dex_swaps
    WHERE
    BLOCK_TIMESTAMP >= DATEADD(day, -{{days}}, CURRENT_DATE)
    GROUP BY
    PLATFORM, swap_size_category
    having avg_swap_size is not null
    ORDER BY
    avg_swap_size desc, swap_size_category asc, platform
    Last run: about 4 hours ago
    PLATFORM
    SWAP_SIZE_CATEGORY
    SWAP_COUNT
    AVG_SWAP_SIZE
    1
    thalaVery Large (> $1,000)24755174.485154884
    2
    cellanaVery Large (> $1,000)6905224871.254688228
    3
    liquidswapVery Large (> $1,000)70722961.996437869
    4
    pancakeVery Large (> $1,000)39911900.111256161
    5
    sushiVery Large (> $1,000)1521854.508272767
    6
    pancakeLarge ($100 - $1,000)12221400.217247414
    7
    liquidswapLarge ($100 - $1,000)16923393.873104999
    8
    sushiLarge ($100 - $1,000)16045309.705905361
    9
    cellanaLarge ($100 - $1,000)28768279.552447442
    10
    thalaLarge ($100 - $1,000)2219236.253120111
    11
    auxexchangeLarge ($100 - $1,000)6174.87551396
    12
    cetusLarge ($100 - $1,000)1120.571966388
    13
    animeswapLarge ($100 - $1,000)1118.384076856
    14
    sushiMedium ($10 - $100)267345.506275342
    15
    pancakeMedium ($10 - $100)688339.401724035
    16
    liquidswapMedium ($10 - $100)1746837.632126478
    17
    thalaMedium ($10 - $100)584236.885353856
    18
    cellanaMedium ($10 - $100)25928133.421256688
    19
    auxexchangeMedium ($10 - $100)4432.752494694
    20
    cetusMedium ($10 - $100)1921.544941533
    33
    2KB
    2s