HadisehTop 5 Collections based on buyer
    Updated 8 days ago
    WITH wapal_sales AS (
    SELECT
    project_name,
    buyer_address,
    total_price,
    platform_fee
    FROM
    aptos.nft.ez_nft_sales
    WHERE
    UPPER(platform_name) = 'WAPAL'
    AND block_timestamp >= '2024-01-01'
    ),
    collection_metrics AS (
    SELECT
    project_name AS collection,
    COUNT(DISTINCT buyer_address) AS unique_buyers,
    COUNT(*) AS total_transactions,
    SUM(total_price) AS volume_apt,
    SUM(platform_fee) AS fees_apt
    FROM
    wapal_sales
    GROUP BY
    project_name
    HAVING
    total_transactions >= 10
    )
    SELECT
    RANK() OVER (
    ORDER BY
    unique_buyers DESC
    ) AS buyer_rank,
    collection,
    unique_buyers,
    total_transactions,
    ROUND(volume_apt, 2) AS volume_apt,
    ROUND(fees_apt, 2) AS fees_apt
    Last run: 8 days ago
    BUYER_RANK
    COLLECTION
    UNIQUE_BUYERS
    TOTAL_TRANSACTIONS
    VOLUME_APT
    FEES_APT
    1
    1Make Every M🌐ve Count.191279218174493.187.4
    2
    2Amnis Retroactive Booster Card44577790211828.9627.43
    3
    3Aptos Connect Early Adopters6579125482948.8444.23
    4
    4APTS51451114743.680.66
    5
    5Cellana Voting Tokens382183774047.6460.71
    5
    266B
    8s