Prerequisites
You need:- Node.js 18+ (or a Rust environment for the Rust client)
- An OrbitFlare gRPC endpoint URL and token (available from your Dashboard under Licenses)
Installation
Install the official Yellowstone gRPC TypeScript client:Connect to Your Endpoint
Your gRPC URL and token are found in the Licenses section of your OrbitFlare Dashboard. The token is passed as the second argument to
new Client() — it is not an HTTP header in the TypeScript client.Open a Stream
Send Your First Subscription
Subscribe to all slot updates at theconfirmed commitment level:
Keep the Connection Alive
Cloud load balancers terminate idle gRPC connections after ~10 minutes. Send a ping every 30 seconds:Reconnection
For production applications, implement automatic reconnection with exponential backoff:Next Steps
Account Monitoring
Stream token balances, wallet changes, and program account updates.
Transaction Monitoring
Filter and process live transactions by program or account.
Slots & Blocks
Track consensus progress and full block data.
Entry Monitoring
Access low-level block entries.