Query editor
-- Which kind of wallet claimed? On-chain the only app signal is the gas payment:-- CIP-64 transactions (type 123) with a fee currency can only come from-- Celo-native wallets such as Valora or MiniPay. Paying gas in USA₮ (adapter-- 0x0357…) is offered by Valora but not by MiniPay. Wallets that only ever-- paid gas in CELO give no signal (MetaMask, Rabby, scripts, or a Valora user-- who happens to hold CELO).WITH claimants AS (SELECT "to" AS wallet, MIN(evt_block_time) AS claimed_atFROM erc20_celo.evt_transferWHERE contract_address = 0xd2ab3c9a02dbbab236bfec45d1d755df4267f771AND "from" = 0x6fc8bdcad9d4c36fffcf101b633df7b078a221feAND evt_block_date >= DATE '2025-08-01'GROUP BY 1),activity AS (SELECT t."from" AS wallet,COUNT(*) AS txs,COUNT_IF(t.fee_currency = 0x0357ee22278c922e1d36cfe6b899269b161880c4) AS usat_gas_txs,COUNT_IF(LENGTH(t.fee_currency) = 20) AS fee_currency_txsFROM celo.transactions tWHERE t.block_date >= DATE '2025-08-01'AND t."from" IN (SELECT wallet FROM claimants)GROUP BY 1),classified AS (SELECT c.wallet,CASEWHEN a.usat_gas_txs > 0 THEN '1. pays gas in USA₮ (CIP-64) — Celo-native wallet, e.g. Valora'WHEN a.fee_currency_txs > 0 THEN '2. pays gas in another fee currency (CIP-64) — Celo-native wallet, e.g. MiniPay'WHEN a.txs > 0 THEN '3. pays gas in CELO only — no app signal'ELSE '4. no outgoing transaction yet'END AS wallet_typeFROM claimants cLEFT JOIN activity a ON a.wallet = c.wallet)SELECT wallet_type,COUNT(*) AS claimants,ROUND(100.0 * COUNT(*) / SUM(COUNT(*)) OVER (), 1) AS pct_of_claimantsFROM classifiedGROUP BY 1ORDER BY 1