feyikemiTop NFT by Vol 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 sales_volume_usd desc
    Last run: about 2 months ago
    COLLECTION
    N_SALES
    BUYERS
    SELLERS
    SALES_VOLUME_USD
    1
    Axie579225802415397351.327627072
    2
    RuniverseLand1162439560308479.884821351
    3
    Axie Land360234190259951.200230605
    4
    Adventure LandZ817444547152133.374622812
    5
    Ronkeverse1064477592121958.318505198
    6
    Farm Land987071108261.230463188
    7
    Fableborne Kingdoms49525329092641.888099772
    8
    WatchersRing55383283209.200502754
    9
    Axie Material103643552872969.424718566
    10
    Axie Consumable Item34810419069990.187664829
    10
    461B
    3s