Skip to main content
The Helius TypeScript SDK provides type-safe methods for all Helius APIs, making it the fastest way for agents to interact with Solana.
  • Package: helius-sdk (npm / pnpm / yarn)
  • Version: 2.x (uses @solana/kit, not @solana/web3.js)
  • Runtime: Any JavaScript runtime — browsers, Deno, Bun, edge runtimes (Cloudflare Workers, Vercel Edge), Node.js 20+
  • TypeScript: 5.8+ (full type definitions included)
  • License: ISC

Installation

Quick Start

Client Options

Namespaces

All methods are accessed through the helius client. DAS API methods and standard Solana RPC methods are available directly on helius.*. Other functionality is organized into namespaces:

Programmatic Signup (Auth Module)

The auth module is a standalone import — it is not on the main HeliusClient. Use it for programmatic agent signup flows.

Deep Dives

Best Practices

Recommended patterns, pagination, common mistakes, and error handling

API Reference

Full method list for every namespace

Resources

GitHub Repository

Source code, examples, and issue tracking

Code Examples

Working examples for every method organized by namespace

SDK API Docs (TypeDoc)

Full API documentation generated from source

Migration Guide (1.x to 2.x)

Upgrade from @solana/web3.js to @solana/kit