Query editor
WITH usdc_transfers AS (SELECT from_owner, to_ownerFROM tokens_solana.transfersWHERE token_mint_address = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'AND block_time >= TIMESTAMP '2026-01-01 00:00:00'AND block_time < TIMESTAMP '2026-07-01 00:00:00'AND (from_owner IS NULL OR to_owner IS NULL)),categorized AS (SELECTfrom_owner,to_owner,CASEWHEN to_owner IS NULL THEN 'Issuer / Burn / Redemption'WHEN from_owner IS NULL THEN 'Issuer - Unclassified (Mint)'END AS categoryFROM usdc_transfers),addresses AS (SELECT category, from_owner AS address FROM categorized WHERE from_owner IS NOT NULLUNION ALLSELECT category, to_owner AS address FROM categorized WHERE to_owner IS NOT NULL)SELECT'Solana' AS chain,category,COUNT(DISTINCT address) AS active_addresses_in_categoryFROM addressesGROUP BY categoryORDER BY category;