1. Subscribe to new trades
Subscribe first, and buffer updates until the ack arrives and the recent trades are loaded, so no trade falls between the two. See REST reads and their streams.data.chain.
2. Load recent trades
After the ack, load the latest trades:chains to cover every chain. The response is a paged trade list, newest first. Merge the buffered updates into it, and skip any update whose id you already hold.
3. Show who traded
Each trade’sidentities list carries the trader’s public profiles:
Narrow the feed
Addflags to keep only trades by wallets that carry another classification too. For example, KOL trades by whales only:
wallet mode: { "chain": "solana", "wallet": "<address>" }.
Alerts
For alerts, act on updates rather than polling. A simple rule, such as “a KOL bought more than $5,000 of a token under 1 hour old”, needs the trade from the stream and the token’screatedAt, which you can read once per token from GET /v1/tokens/{chain}/{address} and cache.