adriaparcerisasOptimism NFT Purchasing Behavior
    Updated 2023-04-13
    -- Show the distribution of all NFT sales on Optimism by price. What percentage of all sales have been above .01 ETH?
    -- Above .1 ETH? 1 ETH?
    -- Do you think that there is a limit to how high a floor for a NFT collection on Optimism can reach compared to on Ethereum?

    WITH
    nft_sales as (
    SELECT
    block_timestamp,price_usd,platform_name,project_name,tx_hash
    from optimism.core.ez_nft_sales x
    join optimism.core.dim_labels y on x.nft_address=y.address
    where price_usd is not null
    )
    SELECT
    case when price_usd>1000 then 'A. >1000 USD'
    when price_usd between 500 and 1000 then 'B. 500-1k USD'
    when price_usd between 100 and 500 then 'C. 100-500 USD'
    when price_usd between 50 and 100 then 'D. 50-100 USD'
    when price_usd between 10 and 50 then 'E. 10-50 USD'
    when price_usd between 1 and 10 then 'F. 1-10 USD'
    when price_usd <1 then 'G. <1 USD' end as range,
    count (distinct tx_hash) as counts
    from nft_sales
    group by 1
    order by 1
    Run a query to Download Data