跳转到主要内容
WSS
已弃用。 请改用 v2:transaction:{mint}。使用 SDK 时,请调用 dataStream.subscribe.tradesV2.token(mint)。

SDK Example

apiKey
type:httpApiKey

API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}

joinTokenTx
type:object

Subscribe to token transactions

leaveTokenTx
type:object

Unsubscribe from token transactions

tokenTxMessage
type:object

Transaction notification