WebSocket API

The lifecycle of a Websocket connection is as below:

  1. Open a Websocket connection to ws.aevo.xyz (or ws-testnet.aevo.xyz for Testnet).

  2. Authenticate for private operations.

  3. Subscribe to a channel.

  4. The connection will start streaming data from the subscription.

  5. Connection will time out after 15 minutes of inactivity. To keep the connection alive, perform a ping operation. Sending any other operation will also refresh the connection.

Last updated