LaserStream
Highly configurable low-latency data streams for Solana.
Professional Plan Required: LaserStream is available for Professional plan subscribers. Upgrade your plan to access LaserStream’s enhanced streaming capabilities.
What is LaserStream?
LaserStream is a next-generation streaming service purpose-built for developers who need reliable, low-latency Solana data. It delivers on-chain events (transactions, slots, blocks, accounts, and more) directly to your application with industry-leading reliability, performance, and flexibility. Similar to our gRPC offerings, LaserStream nodes tap directly into Solana leaders to receive shreds as they’re produced, delivering ultra-low latency data to your application.
Unlike standard Solana RPC nodes, LaserStream is specifically designed for streaming use cases, offering features not available in conventional node setups:
Historical Replay
Automatically backfill missed data by specifying a starting slot, ensuring data continuity even after disconnections.
Multi-Node Reliability
Stream from multiple aggregated nodes simultaneously, eliminating single points of failure and ensuring maximum uptime.
High Performance
Purpose-built for streaming with optimized connection handling, reducing latency and improving throughput compared to standard connections.
Protocol Flexibility
Choose your preferred protocol to match your application’s needs and environment requirements.
Easy Migration
Drop-in Replacement: LaserStream gRPC is designed as a seamless drop-in replacement for your existing gRPC setup. Simply change your endpoint and API token, and your application will work with LaserStream immediately.
Using Existing gRPC Code
If you already use Yellowstone gRPC, migrating to LaserStream is as simple as:
Enhanced Experience with the LaserStream SDK
While LaserStream works with your existing code, we highly recommend using our LaserStream SDK for enhanced capabilities:
Key Features
Automatic Reconnection & Catch-up
The LaserStream SDK automatically handles dropped connections, network issues, and data gaps. When a reconnection occurs, the SDK automatically:
- Reconnects with minimal delay
- Re-streams any data that was missed during the downtime
- Continues streaming without intervention
Multi-Protocol Support
LaserStream is designed with multi-protocol support in mind:
Protocol | Status | Best For | Features | Implementation |
---|---|---|---|---|
gRPC | ✅ Available | Backend services, high-throughput applications | Highest performance, binary protocol, bi-directional streaming | Via LaserStream SDK or Yellowstone |
WebSocket | 🔜 Coming soon | Frontend applications, browser clients | JSON-based, widely supported in browsers, familiar for web developers | Standard WebSocket clients (e.g., ws library) |
WebSocket support is coming soon! Currently, LaserStream is available only via gRPC. WebSocket integration is under active development and will be available in a future update.
Advanced Filtering
LaserStream supports sophisticated filtering options:
- Account Filtering: Include, exclude, or require specific accounts
- Transaction Types: Filter by transaction status, vote transactions, etc.
- Commitment Levels: Choose from processed, confirmed, or finalized
- Data Content: Request specific data fields or full data
Extreme Scalability
- Load Balancing: Connections distributed across multiple nodes
- Auto-scaling: Backend resources scale to match demand
- Efficient Routing: Requests automatically routed to the most responsive node
Endpoints & Regions
LaserStream is available in multiple regions worldwide for optimal performance. Choose the endpoint closest to your application’s location:
Mainnet Endpoints
Region | Location | Endpoint |
---|---|---|
ewr | New York, US (East Coast) | https://laserstream-mainnet-ewr.helius-rpc.com |
pitt | Pittsburgh, US (Central) | https://laserstream-mainnet-pitt.helius-rpc.com |
slc | Salt Lake City, US (West Coast) | https://laserstream-mainnet-slc.helius-rpc.com |
ams | Amsterdam, Europe | https://laserstream-mainnet-ams.helius-rpc.com |
fra | Frankfurt, Europe | https://laserstream-mainnet-fra.helius-rpc.com |
tyo | Tokyo, Asia | https://laserstream-mainnet-tyo.helius-rpc.com |
sgp | Singapore, Asia | https://laserstream-mainnet-sgp.helius-rpc.com |
Devnet Endpoint
Network | Location | Endpoint |
---|---|---|
Devnet | New York, US (East Coast) | https://laserstream-devnet-ewr.helius-rpc.com |
Choosing Your Network & Region:
- For production applications, use a mainnet endpoint closest to your server location. For example, if your server is in Frankfurt, use
https://laserstream-mainnet-fra.helius-rpc.com
. - For development and testing, use the devnet endpoint:
https://laserstream-devnet-ewr.helius-rpc.com
.
Authentication & Availability
LaserStream uses your Helius API key for authentication. You can obtain your API key from the Helius Dashboard. Your API key serves as both your authentication token and grants access to LaserStream’s enhanced features.
Plan Requirement: LaserStream is currently available for Professional plan subscribers. To access LaserStream, please ensure your Helius account is on a Professional plan. You can upgrade your plan in the Helius Dashboard.
Getting Started
gRPC
High-performance streaming optimized for backend services and high-throughput applications
For applications that need to catch up on historical data or implement fault-tolerant connections:
Historical Replay
Learn how to implement historical replay to ensure data continuity
When to Use LaserStream vs. Other Solana Streaming Options
Feature | LaserStream | Standard Solana WebSocket | Yellowstone gRPC |
---|---|---|---|
Historical replay | ✅ Up to 3000 slots (approx. 20 minutes) | ❌ Not available | ❌ Limited |
Auto-reconnect | ✅ Built-in with SDK | ❌ Manual implementation | ❌ Manual implementation |
Multi-node failover | ✅ Automatic | ❌ Manual implementation | ❌ Manual implementation |
gRPC support | ✅ Enhanced | ❌ Not available | ✅ Standard |
Shredstream enabled | ✅ Yes | ❌ No | ❌ Manual |
Next Steps
For more information, join the discussion on our Discord or Telegram.
Attribution
LaserStream is a custom fork of Richat project.