Subscriptions
Allows to subscribe to a number of live data feeds to receive real-time trading updates from Vertex.
Overview
To interact with the subscription API, send websocket messages to WEBSOCKET [SUBSCRIPTIONS_ENDPOINT]
.
Subscription connections must set the Sec-WebSocket-Extensions
header to include permessage-deflate
.
Endpoints
Testnet:
wss://gateway.sepolia-test.vertexprotocol.com/v1/subscribe
Mainnet:
wss://gateway.prod.vertexprotocol.com/v1/subscribe
Note: You must send ping frames every 30 seconds to keep the websocket connection alive.
Last updated