1. Subscribe
Open the stream and subscribe before you read the snapshot, so that no change is missed between the request and the subscription. Wait for both acks; each ack always arrives before the first update of its subscription. See Initial snapshot.2. Read the snapshot
Read the token object and the latest trades in parallel.3. Apply updates
flags and platforms when they are present, so you can show wallet badges on live trades immediately.
4. Render the sections
Header
native value next to the USD value for traders who think in SOL, ETH or BNB.
Holders and risk
You choose the thresholds. Every
Pct field uses a 0–100 scale, and the glossary defines each holder group.
Security
Launchpad status
- While
graduatedAtisnullandbondingCurvePctis set, show a progress bar based onbondingCurvePct. - Once
graduatedAtis set, show the DEX the token graduated to fromgraduatedToDex.
Links
metadata.website, metadata.twitter, metadata.telegram and metadata.discord can each be null. Hide any link that is null.
Next steps
- Add a chart: Render a live chart.
- Handle reconnects: WebSocket streams.