Messages
{
"type": "join",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "leave",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "joined",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "message",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"data": {
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"creator": "4Rz5xqikxtZ2s7wE9uQ6n2oLXQi6K65XGoYpKxf24Hqo",
"amount": "150000000000",
"percentage": 15,
"previousPercentage": 20,
"timestamp": 1739318753652
}
}Websockets
Developer holdings
Subscribe to developer holdings 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.token('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN').dev.holding().on((data) => {
console.log(data);
});
// sub.unsubscribe();
Messages
{
"type": "join",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "leave",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "joined",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}{
"type": "message",
"room": "dev_holding:6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"data": {
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"creator": "4Rz5xqikxtZ2s7wE9uQ6n2oLXQi6K65XGoYpKxf24Hqo",
"amount": "150000000000",
"percentage": 15,
"previousPercentage": 20,
"timestamp": 1739318753652
}
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
joinDev
type:object
Subscribe to developer holdings
leaveDev
type:object
Unsubscribe from dev holdings
devJoined
type:object
Dev holding subscription confirmed
devMessage
type:object
Developer holding change notification
Was this page helpful?
⌘I