Query editor
WITH backgrounds AS (SELECTCAST(split(token_idbackground, ',')[1] AS BIGINT) AS token_id,split(token_idbackground, ',')[2] AS backgroundFROM dune.klintoshi.dataset_bosu_legacy_backgrounds_Klintoshi),last_transfer AS (SELECTtoken_id,MAX(block_time) AS last_moveFROM nft.transfersWHERE blockchain = 'ethereum'AND contract_address = 0xb792864e4659d0b8076f9c6912c228f914ec66d4GROUP BY token_id),activity AS (SELECTtoken_id,DATE_DIFF('day', last_move, NOW()) AS inactive_daysFROM last_transfer)SELECTCASEWHEN inactive_days > 365 THEN 'Dormant Supply (>1y)'ELSE 'Active Circulating Supply'END AS category,COUNT(*) AS nft_countFROM activityGROUP BY 1