Billing and Rate Limits
How many credits does WebSocket events consume?
How many credits does WebSocket events consume?
Opening a new WebSocket connection costs 1 credit. Streaming data through Standard WebSockets is free for any amount of data. For Enhanced WebSockets, your data consumption is metered and costs 3 credits per 0.1 MB.
How much faster are Enhanced Websockets vs. normal WebSockets?
How much faster are Enhanced Websockets vs. normal WebSockets?
Enhanced WebSockets are, on average, 1.5x - 2x faster than standard WebSockets. They provide faster response times through optimized infrastructure and direct access to Helius’s streaming backend, making them ideal for high-performance applications requiring low-latency data.
Disconnects and Retries
Why are my Enhanced WebSockets connections disconnecting?
Why are my Enhanced WebSockets connections disconnecting?
Enhanced WebSockets have a 10-minute inactivity timer that disconnects idle connections. To prevent disconnections:
- Implement health checks: Send pings every minute to keep connections alive
- Add reconnection logic: Automatically reconnect when disconnections occur
- Use proper connection management: Follow the patterns shown in our Enhanced WebSockets documentation
Using WebSockets
What is the maximum number of active WebSocket connections?
What is the maximum number of active WebSocket connections?
On the Free plan, you can make 5 simultaneous WebSocket connections. On the Developer Plan, 150 connections are possible. For Business and Professional, you can make 250 WebSocket connections.
Why is my client not receiving some WebSocket updates?
Why is my client not receiving some WebSocket updates?
The client needs to keep up with the rate of incoming messages from the WebSocket server.Common causes of your client missing WebSocket updates include: insufficient network bandwidth, too slow client-side processing (e.g. a too slow programming language), or processing logic that blocks the main thread.
Can I subscribe to multiple accounts using the same WebSocket connection?
Can I subscribe to multiple accounts using the same WebSocket connection?
Yes, you can create multiple subscriptions to
accountSubscribe using the same WebSocket connection.How do I subscribe to full transactions using WebSockets?
How do I subscribe to full transactions using WebSockets?
For Enhanced WebSockets, set For Standard WebSockets, use
transactionDetails: "full" in your subscription options:logsSubscribe or signatureSubscribe methods depending on your monitoring needs. See our WebSocket guide for detailed examples of each subscription type.