feyikemiTop NFTs by Sales 30D
    Updated 2025-04-07
    WITH Price AS(
    SELECT
    HOUR::date AS Date,
    token_address,
    avg(price) AS price_usd
    FROM ronin.price.ez_prices_hourly
    GROUP BY 1,2
    ),


    NFT_TXNS AS (
    SELECT
    block_timestamp,
    tx_hash,
    from_address AS seller,
    to_address AS buyer,
    name AS collection,
    decoded_log:acceptedSettlePrice / 1e18 as nft_price,
    (decoded_log:acceptedSettlePrice / 1e18)*price_usd as nft_Price_usd
    from ronin.nft.ez_nft_transfers tr
    join ronin.core.ez_decoded_event_logs log using (tx_hash, block_timestamp)
    left join price p on block_timestamp::date = p.date and log.decoded_log:settleToken = token_address
    where event_name = 'OrderMatched'
    and decoded_log:order[0]:extraData[0][2] = token_id
    and tx_succeeded
    and block_timestamp::date >= CURRENT_DATE - INTERVAL '30 days'
    )
    select
    Collection,
    count(distinct tx_hash) as n_sales,
    count(distinct buyer) as buyers,
    count(distinct seller) as sellers,
    sum(nft_Price_usd) as sales_volume_usd
    from nft_txns
    group by 1
    order by n_sales desc
    Last run: about 2 months ago
    COLLECTION
    N_SALES
    BUYERS
    SELLERS
    SALES_VOLUME_USD
    1
    Wild Forest Units8394952101420415.236854317
    2
    Axie579225802415397351.327627072
    3
    RuniverseItem54751221109435690.821079106
    4
    Ragnarok Monsters412149755621541.950481255
    5
    Fishing Frenzy Rods3458151583712570.638503331
    6
    Fishing Frenzy Chests309496980017567.804588454
    7
    Primal HeroZ306460297934326.604884258
    8
    Fishing Frenzy Fish23633856454904.962581034
    9
    Sunflower Land Pass163212207276849.624737984
    10
    RuniverseLand1162439560308479.884821351
    10
    502B
    8s