Messages
{
"type": "join",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers"
}{
"type": "leave",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers"
}{
"type": "message",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers",
"data": {
"program": "jupiter",
"programId": "DCA265Vj8a9CEuX1eb1LWRnDT7uK6q1xMipnNyatn23M",
"signature": "5K7x...",
"slot": 312456789,
"timestamp": 1710000000000,
"eventIndex": 0,
"eventName": "Filled",
"dcaKey": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"userKey": "2FbbdMWfrfGpyyK4Wh76vyxbmDGcp3LxZNhwBwFpV5UK",
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"outputMint": "So11111111111111111111111111111111111111112",
"inAmount": "100000000",
"outAmount": "1193647703",
"feeMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"fee": "100000",
"fillInstruction": "fulfill_flash_fill",
"address": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"owner": "2FbbdMWfrfGpyyK4Wh76vyxbmDGcp3LxZNhwBwFpV5UK",
"usd": {
"inAmountUsd": 100.05,
"outAmountUsd": 100.32,
"feeUsd": 0.1
},
"prices": {
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": 1,
"So11111111111111111111111111111111111111112": 142.5
},
"order": {
"program": "jupiter",
"address": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"status": "active",
"pair": "USDC → SOL",
"depositedUsd": 10005.02,
"progressPercent": 12
}
}
}Jupiter DCA
Compradores Jupiter DCA de un token por WebSocket
Recibe por WebSocket de Datastream las DCA de Jupiter que compran un token de Solana (output mint) para feeds de compradores y analítica en terminales.
WSS
/
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.dca.token('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN').buyers().on((data) => {
console.log(data);
});
// sub.unsubscribe();
Messages
{
"type": "join",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers"
}{
"type": "leave",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers"
}{
"type": "message",
"room": "dca:jupiter:So11111111111111111111111111111111111111112:buyers",
"data": {
"program": "jupiter",
"programId": "DCA265Vj8a9CEuX1eb1LWRnDT7uK6q1xMipnNyatn23M",
"signature": "5K7x...",
"slot": 312456789,
"timestamp": 1710000000000,
"eventIndex": 0,
"eventName": "Filled",
"dcaKey": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"userKey": "2FbbdMWfrfGpyyK4Wh76vyxbmDGcp3LxZNhwBwFpV5UK",
"inputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"outputMint": "So11111111111111111111111111111111111111112",
"inAmount": "100000000",
"outAmount": "1193647703",
"feeMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"fee": "100000",
"fillInstruction": "fulfill_flash_fill",
"address": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"owner": "2FbbdMWfrfGpyyK4Wh76vyxbmDGcp3LxZNhwBwFpV5UK",
"usd": {
"inAmountUsd": 100.05,
"outAmountUsd": 100.32,
"feeUsd": 0.1
},
"prices": {
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": 1,
"So11111111111111111111111111111111111111112": 142.5
},
"order": {
"program": "jupiter",
"address": "82jLLG1C8rbmr1ek4CKAg3TuQh977epmBLcJr8mB6NDo",
"status": "active",
"pair": "USDC → SOL",
"depositedUsd": 10005.02,
"progressPercent": 12
}
}
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
joindcaJupiterMintBuyers
type:object
Subscribe — buyers by mint (dca:jupiter:{mint}:buyers)
leavedcaJupiterMintBuyers
type:object
Unsubscribe
dcaJupiterMintBuyersMessage
type:object
Receive — buyer-scoped events
¿Esta página le ayudó?