Updated 2 hours ago
    SELECT
    PLATFORM,
    SUM(AMOUNT_IN_USD) AS total_volume_usd,
    COUNT(*) AS total_swaps,
    COUNT(distinct swapper) as distinct_swappers
    FROM
    aptos.defi.ez_dex_swaps
    WHERE
    BLOCK_TIMESTAMP >= DATEADD(day, -{{days}}, CURRENT_DATE)
    GROUP BY
    PLATFORM
    ORDER BY
    total_volume_usd DESC

    Last run: about 2 hours ago
    PLATFORM
    TOTAL_VOLUME_USD
    TOTAL_SWAPS
    DISTINCT_SWAPPERS
    1
    cellana23965955.479641811408126988
    2
    liquidswap10304227.89699151655138425
    3
    pancake5680718.98203766871955626
    4
    sushi5362406.02582142254202371
    5
    thala4487791.76631046498342835
    6
    cetus15836.1088361582608944
    7
    hippo8455.1904231779944
    8
    auxexchange7627.7987699572696249
    9
    animeswap5995.142882766238211122
    10
    batswap1802.29743584636629
    10
    383B
    3s