- Crate:
helius(crates.io) - Version: 1.x (uses
solana-client3.0,solana-sdk3.0) - Runtime: Async (
tokio1.x) - Rust: 1.85+ (edition 2021)
- HTTP Client:
reqwest - License: MIT
Installation
native-tls. For pure-Rust TLS (useful when OpenSSL is unavailable), use:
Quick Start
Client Constructors
Helius::new — Basic sync client
.await needed. Provides RPC methods, webhooks, Enhanced Transactions, smart transactions, and Wallet API. No async Solana client or WebSocket support.
Helius::new_async — Full-featured async client
.await because it establishes a WebSocket connection.
Helius::new_with_url — Custom RPC endpoint
HeliusBuilder — Advanced configuration
HeliusFactory — Multi-cluster
Accessing embedded Solana clients
Deep Dives
Best Practices
Recommended patterns, pagination, common mistakes, and error handling
API Reference
Full method list for every category