- 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
Resources
GitHub Repository
Source code, examples, and issue tracking
docs.rs
Full API documentation on docs.rs
Code Examples
Working examples for every feature organized by category
Migration Guide (0.x to 1.0)
Upgrade from solana-sdk 1.x to 3.0