Query editor
WITH solana_programs AS (SELECTsigner,t.executing_account AS program,block_dateFROM solana.transactionsCROSS JOIN UNNEST(instructions) AS t(data, executing_account, account_arguments, inner_instructions)WHEREblock_time > CURRENT_TIMESTAMP - INTERVAL '30' dayAND t.executing_account = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'), daily_change_holders AS (SELECTDATE_TRUNC('day', block_date) AS day,COUNT(DISTINCT signer) AS daily_change_holder_countFROM solana_programsGROUP BY1), total_holders AS (SELECTday,daily_change_holder_count,SUM(daily_change_holder_count) OVER (ORDER BY day) AS total_holder_countFROM daily_change_holders)SELECTday,daily_change_holder_count,total_holder_countFROM total_holdersORDER BYday