marquSolana NFTs - Minted Tokens (incl. compressed) - All Time Count
    Updated 2024-10-12
    with

    regular_mints as (

    select

    date_trunc('week', block_timestamp) as date
    , count(distinct mint) as mints
    , 'NFTs' as label_type
    from solana.nft.fact_nft_mints
    where succeeded
    and not program_id = 'BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY'
    and not program_id is null
    group by 1
    ),

    -- bgum_mints_call as (

    -- select

    -- date_trunc('week', f.value :DATE ::timestamp) as date
    -- , sum(f.value :MINT_TXS ::int) as mints
    -- , 'Compressed NFTs' as label_type

    -- from ( -- bubblegum.core.fact_nft_mints
    -- select livequery.live.udf_api(
    -- 'https://flipsidecrypto.xyz/api/v1/queries/100a5d76-2369-4872-85ae-b2c7d75f7e6f/data/latest'
    -- ) :data as data
    -- ) response
    -- inner join lateral flatten (input => response.data) f
    -- group by 1
    -- ),

    bgum_mints as (

    QueryRunArchived: QueryRun has been archived