
Initial Fetch
Start by implementing the following query to fetch the launchpad data, one query for each column.New
New
Completing
Completing
Completed
Completed
Now you have the data for the initial render for each column. You can adjust the filters with the remaining of the arguments to the filterTokens query. See the TokenFilters type for more details.
Realtime Updates
To get realtime updates, you can use the onLaunchpadTokenEventBatch subscription. This gives you every update for each launchpad token.Further Reading
Launchpad Token Progression
Launchpad Token Progression
Launchpads that utilize bonding curves, like pump.fun, have structured token progression from 0-100% before “graduating.” Some launchpad protocols like Zora, Base, and Clanker do not implement bonding curves, and lack the distinct graduation phases. Tokens on protocols without bonding curves will simply be ‘New’, without going through the further phases of completing, completed, or migrating. In these cases the associated attributes like
migrated/completed, migratedAt/completedAt, migratedSlot, and graduationPercent will be absent.Metadata, Charts & Trading
Metadata, Charts & Trading
All the metadata in the launchpad subscription is available through the launchpad model in EnhancedToken (https://docs.codex.io/api-reference/types#launchpaddata). The volume/liquidity/etc metrics are then available through a variety of different endpoints for each token.Data for charts and trading events would need to be fetched separately, as those aren’t included in the subscription.
Check out other similar queries and subscriptions in the GraphQL reference