Ankr WebSockets are available through Uniblock with a validation endpoint and a matching WSS endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
- WebSocket (WSS):
wss://websocket.uniblock.dev/ankr?chainId=1 - HTTP (Validation):
https://websocket.uniblock.dev/ankr/validate?chainId=1
Required parameters
chainIdis required.- Include the
X-API-KEYheader in both validation and connection requests.
Workflow
- Validate the request with the HTTP endpoint.
- Connect to the WSS endpoint using the same
chainId. - Send your Ankr WebSocket subscription message.
Example validation request
Pricing
Responses are billed using the shared WebSocket pricing formula:0.1 CU * 3181.819per response returned