Remember to create your project and get your API key through the
Uniblock dashboard.
Alchemy, Ankr, CoinGecko, Codex,
GoldRush, and Helius.
How it works
WebSocket integrations use a two-step handshake:- Call the provider’s HTTP validation endpoint first.
- Open a connection to the matching WSS endpoint using the same request details.
- Send the provider-specific subscription or message payload after the socket connects.
Authentication
Most Uniblock WebSocket endpoints use theX-API-KEY header. Some providers,
such as Codex, pass the Uniblock API key as a required query parameter.
For full authentication details, see Authentication.
Supported providers
Chain coverage
WebSockets are scoped to what each underlying provider streams, not to the full list of chains covered by Uniblock’s HTTP APIs. Availability for a specific chain depends on the provider you connect through.
For the exact chain identifiers accepted by Uniblock’s HTTP APIs, see the
Chains overview. A chain listed there is
not guaranteed to have a WebSocket path unless it is covered by one of the
providers above.
Pricing
WebSocket costs are calculated per response returned:- Formula:
0.1 CU * 3181.819per response returned