ArioOptimism NFT Purchasing Behavior - ETH vs OP - 1
    Updated 2022-10-19
    select
    'Optimism' as Networks,
    case
    when price < 0.01 then 'Tier 1. ETH Volume < 0.01'
    when price >= 0.01 and price < 0.1 then 'Tier 2. 0.01 =< ETH Volume < 0.1'
    when price >= 0.1 and price < 1 then 'Tier 3. 0.1 =< ETH Volume < 1'
    when price >= 1 then 'Tier 4. 1 =< ETH Volume'
    end as tier,
    count(distinct tx_hash) as "# Transactions",
    sum(price) as "ETH VOLUME"
    from optimism.core.ez_nft_sales
    where BLOCK_TIMESTAMP >= '2022-04-14'
    and CURRENCY_SYMBOL != 'OP'
    group by 2

    UNION ALL

    select
    'Ethereum' as Networks,
    case
    when price < 0.01 then 'Tier 1. ETH Volume < 0.01'
    when price >= 0.01 and price < 0.1 then 'Tier 2. 0.01 =< ETH Volume < 0.1'
    when price >= 0.1 and price < 1 then 'Tier 3. 0.1 =< ETH Volume < 1'
    when price >= 1 then 'Tier 4. 1 =< ETH Volume'
    end as tier,
    count(distinct tx_hash) as "# Transactions",
    sum(price) as "ETH VOLUME"
    from ethereum.core.ez_nft_sales
    where BLOCK_TIMESTAMP >= '2022-04-14'
    and CURRENCY_SYMBOL = 'ETH'
    group by 2
    order by 2 asc


    Run a query to Download Data