Query editor
-- Headline for the first-ever-ZEC bonus. Dashboard title: test-- Reads payouts_attributed.sql; replace query_0000000 with its Dune query id.-- Dune parameter: A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS---- One-row companion to first_zec.sql so a counter widget can read the total-- rather than picking a row number off the daily series.WITH first_inbound AS (SELECTto_owner AS wallet,min(block_time) AS first_quote_timeFROM tokens_solana.transfersWHERE token_mint_address = 'A7bdiYdS5GjqGFtxf17ppRHtDKPkkRqbKtR27dxvQXaS'AND to_owner IS NOT NULLAND action IN ('transfer', 'mintTo')GROUP BY 1),first_reward AS (SELECTwallet,min(block_time) AS first_reward_timeFROM query_8659279GROUP BY 1)SELECT count(*) AS wallets_first_quote_from_rewardFROM first_reward rJOIN first_inbound i ON i.wallet = r.walletWHERE i.first_quote_time = r.first_reward_time