Query editor
-- incentive-analysis: daily unique wallets for meteora-- Counts distinct fee-payer signers of successful transactions that invoked-- any of the protocol's program IDs (top-level or inner instructions).SELECTblock_date AS day,count(DISTINCT tx_signer) AS unique_walletsFROM solana.instruction_callsWHERE executing_account IN ('LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo', 'Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB', 'cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG', '24Uqj9JCLxUeoC3hGfh5W3s9FM9uCHDS2SG3LYwBpyTi')AND tx_success = trueAND block_date >= date '2021-01-01' -- partition column: prunes the scanGROUP BY 1ORDER BY 1