Query by @user-aedf, updated 2026-11-04.
Written by the AI assistant
WITH
(SELECT max(block_time) FROM solana_blocks) AS data_end,
launches AS (
SELECT
toStringCutToZero(creator) AS creator,
toStringCutToZero(mint) AS mint,
block_time AS launch_time
FROM pumpfun_token_creation
WHERE block_time > data_end - INTERVAL 14 DAY
AND block_time <= data_end - INTERVAL 7 DAY
),
migrations AS (
SELECT
mint,
min(block_time) AS migration_time
FROM pfamm_migrations
WHERE block_date_utc >= toDate(data_end - INTERVAL 14 DAY)
AND block_time > data_end - INTERVAL 14 DAY
AND block_time <= data_end
GROUP BY mint
),
outcomes AS (
SELECT
l.creator AS creator,
l.mint AS mint,
l.launch_time AS launch_time,
if(m.migration_time >= l.launch_time AND m.migration_time <= l.launch_time + INTERVAL 7 DAY, 1, 0) AS migrated
FROM launches AS l
LEFT JOIN migrations AS m ON l.mint = m.mint
)
SELECT
data_end - INTERVAL 14 DAY AS cohort_start_utc,
data_end - INTERVAL 7 DAY AS cohort_end_utc,
data_end AS observed_through_utc,
count() AS tokens_launched,
uniq(creator) AS creator_wallets,
sum(migrated) AS tokens_migrated_within_7_days,
round(100.0 * sum(migrated) / nullIf(count(), 0), 2) AS migration_rate_pct
FROM outcomesCharts: Seven-day migration baseline.
| cohort_start_utc | cohort_end_utc | observed_through_utc | tokens_launched | creator_wallets | tokens_migrated_within_7_days | migration_rate_pct |
|---|---|---|---|---|---|---|
| 2026-11-08 23:59:59 | 2026-11-15 23:59:59 | 2026-11-22 23:59:59 | 287172 | 49625 | 5734 | 2.0 |
1 rows. Computed 2026-11-23T18:30:50Z.