> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WebSockets FAQs

> Get answers to the most common questions about WebSockets including enhanced features, troubleshooting, and usage

## Billing and Rate Limits

> [accordion] How many credits does WebSocket events consume?
>
> Opening a new WebSocket connection costs 1 credit. All LaserStream WebSocket streaming data is metered at 2 credits per 0.1 MB (uncompressed).

> [accordion] How much faster is LaserStream WebSocket vs. standard Agave RPC-based WebSockets?
>
> LaserStream WebSocket is, on average, 1.5x – 2x faster than the standard Agave RPC-based WebSocket implementation. It serves both the standard Solana subscription methods and Helius extensions (`transactionSubscribe`, enhanced `accountSubscribe`) from a single endpoint backed by the LaserStream streaming infrastructure.

## Disconnects and Retries

> [accordion] Why are my WebSocket connections disconnecting?
>
> WebSockets have a 10-minute inactivity timer that disconnects idle connections. To prevent disconnections:
>
> 1. **Implement health checks**: Send pings every minute to keep connections alive
> 2. **Add reconnection logic**: Automatically reconnect when disconnections occur
> 3. **Use proper connection management**: Follow the patterns shown in our [WebSockets documentation](https://www.helius.dev/docs/rpc/websocket/transaction-subscribe.md)
>
> Implement reconnection and ping logic as shown in our documentation, then add your application logic on top of this foundation.

## Using WebSockets

> [accordion] What endpoints should I use for WebSockets?
>
> LaserStream WebSocket uses one unified endpoint per network: `wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY` and `wss://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`. The same endpoint serves both the standard Solana subscription methods and the Helius extensions (`transactionSubscribe`, enhanced `accountSubscribe`). For the fastest Solana WebSockets, try the new [Gatekeeper (Beta)](https://www.helius.dev/docs/gatekeeper/overview.md) endpoint: `wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY`.

> [accordion] I used to call this 'Enhanced WebSockets' — is anything different?
>
> No, nothing breaks. The product previously documented as "Enhanced WebSockets" (Helius extensions like `transactionSubscribe`) is now part of [LaserStream WebSocket](https://www.helius.dev/docs/rpc/websocket.md), served from the same `wss://mainnet.helius-rpc.com` / `wss://devnet.helius-rpc.com` endpoints alongside the standard Solana methods. Old `/enhanced-websockets/*` URLs redirect to the new locations under `/rpc/websocket/*`.

> [accordion] 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. On Business, you can make 250 connections, and on Professional, up to 1,000 WebSocket connections.

> [accordion] 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.

> [accordion] Can I subscribe to multiple accounts using the same WebSocket connection?
>
> Yes, you can create multiple subscriptions to `accountSubscribe` using the same WebSocket connection.

> [accordion] How do I subscribe to full transactions using WebSockets?
>
> **For Helius's `transactionSubscribe`**, set `transactionDetails: "full"` in your subscription options:
>
> ```javascript theme={"system"}
> const subscriptionRequest = {
>   jsonrpc: "2.0",
>   id: 1,
>   method: "transactionSubscribe",
>   params: [
>     {
>       accountInclude: ["YOUR_ACCOUNT_ADDRESS"],
>       failed: false,
>       vote: false
>     },
>     {
>       commitment: "confirmed",
>       encoding: "jsonParsed",
>       transactionDetails: "full",  // Full transaction details
>       maxSupportedTransactionVersion: 1
>     }
>   ]
> };
> ```
>
> **For standard Solana methods**, use `logsSubscribe` or `signatureSubscribe` depending on your monitoring needs. See our [WebSockets guide](https://www.helius.dev/docs/rpc/websocket.md) for detailed examples of each subscription type.

***

## Need More Help?

> [card] [Contact Support](https://www.helius.dev/docs/support/contact-support)
>
> Get help from our team through Discord, chat, or email support.

> [card] [Status Page](https://www.helius.dev/docs/support/status-page)
>
> Check real-time service availability and performance information.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.