Last updated
Real-time market data and account updates via WebSocket.
Persistent connection for real-time orderbook, kline, ticker, trades, and account state updates.
WebSocket operations are JSON messages sent over an open WebSocket connection. They are not HTTP POST requests.
Mainnet
wss://ws.afx.xyz/ws/dex
Testnet
wss://ws-testnet.afx.xyz/ws/dex
The official SDK repository includes runnable WebSocket examples:
Last updated

