## Solana RPC Endpoints

High-performance RPC endpoints providing full Solana API compatibility with enhanced reliability and throughput. These endpoints support [all Solana JSON-RPC methods](/content/docs/api-reference/rpc/http-methods/index.html) and now **use staked connections by default** for all paid plans, providing optimal transaction landing rates:

- **Mainnet**: `https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY`
- **Mainnet (Gatekeeper Beta)**: `https://beta.helius-rpc.com/?api-key=YOUR_API_KEY`
- **Devnet**: `https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`

**Want the fastest experience?** Try our [Gatekeeper (Beta)](/content/docs/gatekeeper/overview/index.html) endpoint for significantly lower latency. Your API key works on both standard and beta endpoints without any changes.

## Secure RPC Endpoints

Secure RPC URLs are specifically masked and IP rate-limited at 5 TPS, making them safe to use directly from frontend applications while [protecting your API keys](/content/docs/rpc/protect-your-keys/index.html):

- **Mainnet**: `https://abc-456-fast-mainnet.helius-rpc.com`
- **Devnet**: `https://123-xyz-fast-devnet.helius-rpc.com`

## LaserStream WebSocket Endpoints

[LaserStream WebSocket](/content/docs/rpc/websocket/index.html) serves both the standard Solana WebSocket subscription methods and Helius’s extensions (`transactionSubscribe`, enhanced `accountSubscribe`) on a single unified endpoint per network:

- **Mainnet**: `wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY`
- **Mainnet (Gatekeeper Beta)**: `wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY`
- **Devnet**: `wss://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`

LaserStream WebSocket reduces latency by ~200 ms compared to standard Agave RPC-based WebSockets. Standard Solana methods are available on all plans; the Helius extensions require a Developer, Business, or Professional plan. No code changes required.

### Key Features

- **Backed by LaserStream**: shares its backend with [LaserStream gRPC](/content/docs/laserstream/index.html), delivering data up to 200 ms faster than standard Agave RPC-based WebSockets
- **Standard Solana subscriptions** (all plans): `accountSubscribe`, `programSubscribe`, `signatureSubscribe`, `slotSubscribe`, `logsSubscribe`, and more — fully compatible with Solana’s WebSocket API
- **Helius extensions** (Developer, Business, Professional plans): [`transactionSubscribe`](/content/docs/rpc/websocket/transaction-subscribe/index.html) and an enhanced [`accountSubscribe`](/content/docs/rpc/websocket/account-subscribe/index.html) with advanced filtering
- **Connection management**: WebSockets have a 10-minute inactivity timer; implement health checks and send pings every minute to keep connections alive
- **Best for**: apps that need to monitor account changes, track transactions, or get real-time updates on Solana activity

## Staked Connection Endpoints (Deprecated)

The staked endpoint (`staked.helius-rpc.com`) is deprecated. Use the regular endpoint (`mainnet.helius-rpc.com`), which uses staked connections by default for all paid plans.

- **Cost**: 1 credit per `sendTransaction` request (reduced from 10 credits)
- **Automatic optimization**: All transactions are sent over optimized network infrastructure (Asia, Europe, and North America)
- **Higher landing rates**: Guaranteed access to staked connections during congestion
- **No code changes**: Existing apps automatically benefit from staked connections

## Next Steps

[**Signup**](/content/docs/api-reference/authentication/index.html) - Sign up for free to generate a new API key.

[**Agent Signup**](/content/docs/agents/cli/index.html) - Use the Helius CLI to sign up agentically.

[**Enterprise**](/content/contact/index.html) - Contact sales for enterprise pricing.
