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, BNB, ETH or HYPE.
Holders and risk
You choose the thresholds. Every
Pct field uses a 0–100 scale, and the glossary defines each holder group.
Security
A high
sellTaxBps is the main sign of a honeypot. …Bps fields are in basis points. security.rugPct is "0" on every token, so do not show it.
Holders list
The token object contains the holder groups, not the holders. To list the holders:- Subscribe to
spot.holderswith{ "chain": "solana", "token": address, "period": "lifetime" }, and buffer its updates. - Read
GET /v1/holderswithtokens,chains, the sameperiod, and alimitof up to 150. To list more holders, page with the series’nextCursor. - Apply each update by
address: replace the row, and remove it when itsbalanceis0. A streamed row has norank, so sort bybalancein your client.
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.