1. Subscribe first
Open the stream and subscribe before you read, so no change falls between the read and the subscription. Wait for both acks: an ack always arrives before its subscription’s first update. See REST reads and their streams.2. Read the snapshot
Read the token object and the latest trades in parallel:3. Apply updates
token subscription leave out flags and platforms. To show wallet badges on live trades, re-read the trades endpoint periodically, and keep the REST copy of a trade when you merge.
4. Render the sections
Header
native leg next to USD for traders who think in SOL, ETH or BNB.
Holders and risk
The thresholds are yours to choose. Every
Pct field is on a 0–100 scale. The groups are defined in the glossary.
Security
Launchpad status
- While
graduatedAtisnullandbondingCurvePctis set, show a progress bar frombondingCurvePct. - Once
graduatedAtis set, show where it went:graduatedToDex.
Links
metadata.website, metadata.twitter, metadata.telegram and metadata.discord can each be null. Hide the ones that are.
Next
- Add a chart: Render a live chart.
- Handle reconnects: Connecting to streams.