--- url: https://www.helius.dev/docs/agents/llms.txt last_updated: 2026-10-06 --- # Helius Agents Documentation Machine-readable index of all agent-focused documentation for the Helius Solana platform. ## Authentication All Helius API requests require an API key passed as a query parameter: `?api-key=YOUR_API_KEY` - Mainnet RPC: `https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY` - Mainnet RPC (Gatekeeper Beta — lower latency): `https://beta.helius-rpc.com/?api-key=YOUR_API_KEY` - Devnet RPC: `https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY` - Mainnet WSS: `wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY` - Mainnet WSS (Gatekeeper Beta): `wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY` - Sender: `https://sender.helius-rpc.com/fast` Get an API key from https://dashboard.helius.dev or programmatically via the Helius MCP server or CLI (see below). ## Recommended: Use MCP (Not CLI) for AI Agents The Helius MCP server is the recommended way for AI agents to interact with Helius. It provides 10 routed tools with structured inputs/outputs — the AI calls tools directly rather than spawning shell commands and parsing output. Use the CLI only for shell scripts, CI/CD, or when MCP is not available. - MCP: Structured tool calls (9 routed domain tools — `heliusAccount`, `heliusWallet`, `heliusAsset`, `heliusTransaction`, `heliusChain`, `heliusStreaming`, `heliusKnowledge`, `heliusWrite`, `heliusCompression` — plus `expandResult` for paging large responses), built-in signup via `heliusAccount` actions (`generateKeypair` → `signup`), works with Claude Code, Codex, Cursor, VS Code, Claude Desktop, Windsurf, and any MCP-compatible tool - CLI: Shell commands with `--json` output, for terminal workflows and automation scripts ## Pages ### Overview Helius-specific API guidance, recommended workflows, rate limits, credits, error handling, and endpoint quick reference for agents. Includes MCP vs CLI comparison. https://www.helius.dev/docs/agents/overview.md ### Helius CLI Full-featured CLI for Helius (95+ commands). Best for shell scripts, CI/CD pipelines, and terminal workflows. For AI agents, prefer the MCP server instead. Supports plan selection (Agent $10 one-time, Developer $49, Business $499, Professional $999; prices in USD). JSON output for every command. https://www.helius.dev/docs/agents/cli.md ### CLI Command Reference Full reference for all 95+ Helius CLI commands organized by category: account management, projects, config, balance/tokens, transactions, DAS API, wallet, webhooks, transaction sending, WebSockets, program accounts, staking, ZK compression, account/network, and SIMDs. https://www.helius.dev/docs/agents/cli/commands.md ### Helius MCP MCP server for Helius (`helius-mcp` npm package). 10 public tools — 9 routed domain tools (`heliusAccount`, `heliusWallet`, `heliusAsset`, `heliusTransaction`, `heliusChain`, `heliusStreaming`, `heliusKnowledge`, `heliusWrite`, `heliusCompression`) plus `expandResult` for paging — covering blockchain queries, transactions, webhooks, streaming, wallet analysis, and autonomous account signup. Each routed tool takes an `action` argument naming the Helius action to run, plus optional `detail` ("summary"/"standard"/"full") for response verbosity. Install: `claude mcp add helius npx helius-mcp@latest` https://www.helius.dev/docs/agents/mcp.md ### MCP Tool Catalog Full catalog of the 10 Helius MCP tools, with the actions exposed by each routed tool: `heliusAccount` (onboarding, auth, plans, billing), `heliusWallet` (balances, holdings, history, identity), `heliusAsset` (DAS — NFTs, collections, token holders), `heliusTransaction` (parsing, transfer and address history), `heliusChain` (RPC reads, blocks, network status, token/program accounts, priority fee estimation), `heliusStreaming` (webhooks, Enhanced WebSockets, LaserStream gRPC), `heliusKnowledge` (docs, guides, troubleshooting, source, blog, SIMDs), `heliusWrite` (transfers — SOL and SPL tokens), `heliusCompression` (Merkle proofs for compressed NFTs), and `expandResult` (expand summary-first responses by `resultId`). https://www.helius.dev/docs/agents/mcp/tools.md ### Skills Overview Model-agnostic instruction sets that teach AI assistants how to build on Solana using Helius. Skills provide routing logic, correct SDK patterns, deep reference files, and rules that prevent common mistakes. Each skill ships with pre-built system prompt variants for OpenAI API, Claude API, Codex CLI, Cursor, and ChatGPT. Six skills available: Build (general Solana dev), Phantom (frontend dApps), Jupiter (DeFi), DFlow (trading apps), OKX (trading and intelligence), SVM (protocol internals). https://www.helius.dev/docs/agents/skills/overview.md ### Build Skill Core Helius skill. Makes your AI assistant an expert Solana developer with routing to the right MCP tools and reference files for DAS API, Sender, WebSockets, LaserStream, Webhooks, Wallet API, Enhanced Transactions, onboarding, and Solana knowledge. Requires `helius-mcp`. Claude Code: `/helius:build` (plugin) or standalone. Codex: `$helius`. API/Cursor: use `prompts/openai.developer.md`, `claude.system.md`, or `full.md`. https://www.helius.dev/docs/agents/skills/build.md ### Phantom Skill Frontend dApp skill combining Phantom Connect SDK (React, React Native, browser) with Helius infrastructure. Covers wallet connection, transaction signing, token gating, NFT minting, crypto payments, portfolio display, real-time updates, and secure frontend architecture. Requires `helius-mcp`. Claude Code: `/helius:phantom`. Codex: `$helius-phantom`. API/Cursor: use pre-built system prompt variants. https://www.helius.dev/docs/agents/skills/phantom.md ### Jupiter DeFi Skill DeFi skill combining Jupiter APIs (Swap V2, Lend, Trigger limit orders, Recurring DCA, token/price data, Perps, Predictions) with Helius infrastructure (Sender, priority fees, DAS, WebSockets, LaserStream, Wallet API). Requires `helius-mcp` and a Jupiter API key. Claude Code: `/helius:jupiter`. Codex: `$helius-jupiter`. API/Cursor: use pre-built system prompt variants. https://www.helius.dev/docs/agents/skills/jupiter.md ### DFlow Trading Skill Trading skill combining DFlow APIs (spot swaps, prediction markets, real-time streaming, Proof KYC) with Helius infrastructure (Sender, priority fees, DAS, WebSockets, LaserStream, Wallet API). Requires `helius-mcp` + DFlow MCP. Claude Code: `/helius:dflow`. Codex: `$helius-dflow`. API/Cursor: use pre-built system prompt variants. https://www.helius.dev/docs/agents/skills/dflow.md ### OKX Trading & Intelligence Skill Integration-layer skill that composes OKX DEX aggregation, token discovery, smart money signals, and meme token analysis with Helius infrastructure (Sender, priority fees, DAS, Wallet API, LaserStream). Requires `helius-mcp`, the OKX skill library (`npx skills add okx/onchainos-skills`), and the `onchainos` CLI. Claude Code: `/helius:okx`. Codex: `$helius-okx`. API/Cursor: use pre-built system prompt variants. https://www.helius.dev/docs/agents/skills/okx.md ### SVM Skill Solana protocol expert skill. Explains SVM execution engine, account model, consensus (PoH, Tower BFT, Turbine), transactions and fee markets, validator economics, data layer, program development, and token extensions. Uses Helius blog, SIMDs, and Agave/Firedancer source code via MCP tools. No API key required. Claude Code: `/helius:svm`. Codex: `$svm`. API/Cursor: use pre-built system prompt variants. https://www.helius.dev/docs/agents/skills/svm.md ### Claude Code Plugin All-in-one Claude Code plugin. Bundles Helius MCP server (auto-starts `helius-mcp@latest`), DFlow MCP server (auto-starts `pond.dflow.net/mcp`), Build skill (`/helius:build`), Phantom skill (`/helius:phantom`), Jupiter skill (`/helius:jupiter`), DFlow skill (`/helius:dflow`), OKX skill (`/helius:okx`), and SVM skill (`/helius:svm`) with deep reference files. Install (Anthropic-curated): `claude plugin install helius @claude-plugins-official`. Install (Helius marketplace): `/plugin marketplace add helius-labs/core-ai` then `/plugin install helius@helius-labs`. https://www.helius.dev/docs/agents/claude-code-plugin.md ### TypeScript SDK Overview of the Helius TypeScript SDK (`helius-sdk` v2.x). Installation, quick start, client options, namespaces, and programmatic Auth signup. https://www.helius.dev/docs/agents/typescript-sdk.md ### TypeScript SDK Best Practices Recommended patterns for agents: transaction history (`getTransactionsForAddress`), sending transactions (`sendSmartTransaction`, Helius Sender), batching, real-time data (webhooks, WebSockets), pagination (token/cursor-based and page-based), `tokenAccounts` filter, `changedSinceSlot` incremental fetching, common mistakes, and error handling with retries. https://www.helius.dev/docs/agents/typescript-sdk/best-practices.md ### TypeScript SDK API Reference Full method list for every namespace: DAS API, RPC V2, Transactions, Enhanced Transactions, Webhooks, WebSockets, Staking, Wallet API, ZK Compression, and Standard Solana RPC. https://www.helius.dev/docs/agents/typescript-sdk/api-reference.md ### Rust SDK Overview of the Helius Rust SDK (`helius` crate v1.x, async tokio). Installation, quick start, and all client constructors (Helius::new, new_async, HeliusBuilder, HeliusFactory). https://www.helius.dev/docs/agents/rust-sdk.md ### Rust SDK Best Practices Recommended patterns for agents: transaction history (`get_transactions_for_address`), sending transactions (`send_smart_transaction`, Helius Sender), batching, webhooks, pagination (token/cursor-based and page-based), `token_accounts` filter, `changed_since_slot` incremental fetching, common mistakes, and typed error handling with `HeliusError` enum and retries. https://www.helius.dev/docs/agents/rust-sdk/best-practices.md ### Rust SDK API Reference Full method list for every category: DAS API, RPC V2, Smart Transactions, Helius Sender, Enhanced Transactions, Webhooks, Wallet API, Staking, and Embedded Solana Client. https://www.helius.dev/docs/agents/rust-sdk/api-reference.md ## Quick Start: Agent Signup ```bash npm install -g helius-cli helius keygen # Default: prints a hosted payment link — pay with any wallet in the browser helius signup --email you@example.com --first-name Jane --last-name Doe --json # After paying via the link, finalize the account helius signup --resume --json # Or autopay: fund the keypair with plan USDC + ~0.001 SOL, then helius signup --plan agent --pay --email you@example.com --first-name Jane --last-name Doe --json ``` Every new signup requires `--email`, `--first-name`, and `--last-name`, including the Agent plan. The wallet is only used to pay. Note: the default `helius signup` returns a hosted payment URL, not an API key. The success payload below comes from `helius signup --resume` or autopay (`--pay`). Success response: ```json { "status": "SUCCESS", "apiKey": "your-api-key-here", "endpoints": { "mainnet": "https://mainnet.helius-rpc.com/?api-key=your-api-key-here", "devnet": "https://devnet.helius-rpc.com/?api-key=your-api-key-here" }, "credits": 1000000 } ``` Or use the TypeScript SDK auth module for in-process signup (no CLI needed): ```typescript import { makeAuthClient } from "helius-sdk/auth/client"; const auth = makeAuthClient(); const result = await auth.signupAndPay({ secretKey: keypair.secretKey, plan: "agent", email: "you@example.com", firstName: "Ada", lastName: "Lovelace", }); // result.kind: "completed" | "pending" | "expired" | "failed" | "already_subscribed" | "upgrade_required" ``` ## Use Helius APIs Instead Of Standard Solana RPC | If you need... | Use this | Why | |---------------|----------|-----| | Filtered history, backfill, or token-account activity | `getTransactionsForAddress` | Filters and pagination; use `transactionDetails: "full"` only when raw transaction and metadata objects are needed (`filters.tokenAccounts` defaults to `none`) | | Wallet-centric activity with per-transaction balance changes | Wallet API History (beta) | Wallet-oriented REST response — not equivalent to GTFA filtered backfill or raw full transaction objects | | Transfer-level SOL/token records | `getTransfersByAddress` | Normalized transfers — not full transaction objects | | New parsed human-readable history | Parsed Events | Prefer over legacy Enhanced Transactions; GTFA is not the Enhanced response format | | Rich wallet asset metadata | `getAssetsByOwner` (DAS API) | Returns rich metadata, not just raw token accounts; fungible SPL/Token-2022 holdings require the method-specific `showFungible` option | | Priority fee estimates | `getPriorityFeeEstimate` | Pre-calculated optimal fees | | NFT search | `searchAssets` or `getAssetsByGroup` (DAS API) | Faster, cheaper, indexed data | | Real-time data | LaserStream WebSocket, LaserStream gRPC, or Webhooks | Persistent streams or HTTP callbacks without polling | | High-throughput backend streaming with replay | LaserStream gRPC `Subscribe` (SDK `subscribe`) | Browser/UI WSS uses LaserStream WebSocket; MCP `laserstreamSubscribe` generates config/examples only — it does not open a live stream | | Low-latency transaction submission | Helius Sender | Multi-path routing (Helius, Jito, Harmonic, Rakurai, etc.), higher landing rates | ## Related Resources - Full documentation: https://www.helius.dev/docs - LLM-optimized docs: https://www.helius.dev/docs/llms.txt - API reference: https://www.helius.dev/docs/api-reference - Billing and credits: https://www.helius.dev/docs/billing/credits.md - Rate limits: https://www.helius.dev/docs/billing/rate-limits.md - Dashboard: https://dashboard.helius.dev - Status: https://helius.statuspage.io - Full agent signup instructions: https://dashboard.helius.dev/agents.md --- Full documentation index: https://www.helius.dev/docs/llms.txt