CryptoIcicleFLOW NFT Ecosystem - All Day Metrics - Play Type
    Updated 2022-09-25
    -- FLOW NFT Ecosystem
    -- Happy Flow NFT Day! As part of today’s celebration of FLOW NFTs, we want you to dive deep into the ecosystem.

    -- Pay by Quality
    -- Your score determines your final payout.
    -- Grand Prize 60.485 FLOW (A score of 11 or 12 earns you a Grand Prize title)
    -- Payout 40.323 FLOW
    -- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
    -- Payout Network Flow
    -- Level Intermediate
    -- Difficulty Hard

    -- Happy Flow NFT Day! As part of today’s celebration of FLOW NFTs, we want you to dive deep into the ecosystem.
    -- Treat this as an open analytics bounty specifically focusing on the FLOW ecosystem.
    -- Open Analytics (OA) bounties are bounties without specific prompts, just a direction, and a reward.
    -- It’s your chance to have your brain follow your heart — got a spark of interest, or a loose thread, or a weirdly-specific question gnawing
    -- at the back of your mind? Follow it as far as you can!

    with top_shot_nft_sales as (
    select
    m.play_type,
    s.*
    from flow.core.fact_nft_sales s
    join flow.core.dim_allday_metadata m on s.nft_id = m.nft_id
    where block_timestamp >= '{{start_date}}'
    ),
    top_shot as (
    select
    date_trunc('{{date_range}}',block_timestamp) as date,
    play_type as category,
    count(distinct tx_id) as n_sales,
    sum(price) as sale_volume,
    avg(price) as avg_sale_volume,
    count(distinct buyer) as n_buyers
    from top_shot_nft_sales
    group by date, category
    Run a query to Download Data