Skip to main content
WSS
A wallet’s trades across every token. Room: v2:wallet:{wallet}. The live side of GET /v2/wallet/{wallet}/trades. The wallet matches trades it owns and trades it paid the fee for. A trade between two tokens arrives as two trades, a buy of one and a sell of the other.

WebSocket example

Each message is a page of new trades in the /v2 format, without the cursor fields. Trades always include full detail, with wallet identities when known. Load history from the REST route.

SDK Example

apiKey
type:httpApiKey

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

Subscribe to wallet trades
type:object
Unsubscribe from wallet trades
type:object
New wallet trades
type:object