Messages
{
"type": "join",
"room": "transaction:whale:1000"
}{
"type": "<string>",
"room": "<string>"
}Whale & KOL Trades
Stream high-volume Solana KOL trades
Stream KOL trades at or above USD volume tiers over Datastream WebSocket. Trades under $1,000 appear only on the main transaction:kol room.
WSS
/
Cumulative high-volume KOL trade rooms. Same thresholds and fan-out as
transaction:whale:{volume}. Volumes below $1,000 are excluded from these volume rooms (they still appear on transaction:kol).
SDK Example
import { Datastream } from '@solana-tracker/data-api';
const dataStream = new Datastream({
wsUrl: 'wss://datastream.solanatracker.io/YOUR_API_KEY',
});
dataStream.on('error', console.error);
await dataStream.connect();
const sub = dataStream.subscribe.tx.kol(1000, { enriched: true }).on((data) => {
console.log(data);
});
// sub.unsubscribe();
Messages
{
"type": "join",
"room": "transaction:whale:1000"
}{
"type": "<string>",
"room": "<string>"
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
Join room
type:object
Leave room
type:object
Was this page helpful?