Messages
{
"type": "join",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "leave",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "joined",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "message",
"data": {
"amount": "7965607901843",
"boughtAmount": 0,
"boughtPercentage": 0,
"percentage": 0.79656,
"previousAmount": 8997866.309773,
"previousPercentage": 0.89979,
"tokenAmount": 7965607.901843,
"totalBundlerPercentage": 22.83809,
"wallet": "4ZwYf8okEL7vgyBDZEcas2mcpDAVujsgtthxRHCMDqyP"
},
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}Websockets
Bundlers
Subscribe to bundler wallet activity changes for a token
WSS
Documentation Index
Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
Use this file to discover all available pages before exploring further.
SDK Example
import { Datastream } from '@solana-tracker/data-api';
const dataStream = new Datastream({
wsUrl: 'wss://datastream.solanatracker.io/YOUR_API_KEY',
});
await dataStream.connect();
const sub = dataStream.subscribe.bundlers('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN').on((data) => {
console.log(data);
});
// sub.unsubscribe();
Messages
{
"type": "join",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "leave",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "joined",
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}{
"type": "message",
"data": {
"amount": "7965607901843",
"boughtAmount": 0,
"boughtPercentage": 0,
"percentage": 0.79656,
"previousAmount": 8997866.309773,
"previousPercentage": 0.89979,
"tokenAmount": 7965607.901843,
"totalBundlerPercentage": 22.83809,
"wallet": "4ZwYf8okEL7vgyBDZEcas2mcpDAVujsgtthxRHCMDqyP"
},
"room": "bundlers:5PgftrLTVxQnJ8PgSyoQ3xTkRjMYcCTtmsBhk21x7crH"
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
joinBundler
type:object
Subscribe to bundler tracking
leaveBundler
type:object
Unsubscribe from bundler tracking
bundlerJoined
type:object
Bundler tracking subscription confirmed
bundlerMessage
type:object
Bundler activity notification
Was this page helpful?
⌘I