Query editor
/* Daily mint revenue (ETH & USD) — Blueprint Cohorts 1–2 + Manifold + Zero NetworkUses ETH price at time of mint via prices.usd*/WITH-- 0. ETH price by minute (WETH on Ethereum)eth_price AS (SELECTminute,priceFROM prices.usdWHERE blockchain = 'ethereum'AND symbol = 'WETH'),-- 1. Blueprint Cohort 1 and 2 Dropsblueprint_drops AS (SELECTname,contract_address,token_idFROM (SELECT name, contract_address, token_idFROM query_4081147 -- Cohort 1 DropsUNION ALLSELECT name, contract_address, token_idFROM query_4381290 -- Cohort 2 Drops)GROUP BY name, contract_address, token_id),-- 2. Base Price per Mint in ETH for Blueprint Dropsbase_price_blueprint AS (SELECTMIN(trades.amount_original) AS base_price_eth,bld.name,trades.nft_contract_address,trades.token_idFROM nft.mints AS tradesJOIN blueprint_drops AS bldON trades.nft_contract_address = bld.contract_addressAND trades.token_id = bld.token_idWHERE trades.amount_original IS NOT NULLAND trades.amount_original > 0AND trades.trade_type = 'Single Item Mint'AND trades.currency_symbol = 'ETH'AND trades.blockchain = 'base'GROUP BYbld.name,trades.nft_contract_address,trades.token_id),-- 3. NFT Sales (Blueprint Drops)nft_sales AS (SELECTbld.name AS name,ft.nft_contract_address AS contract_address,ft.number_of_items AS mints,(bp.base_price_eth * ft.number_of_items) AS revenue_eth,