--json 用于机器可读输出和 --api-key <key> / --network <net> 全局覆盖。详情请参见全局选项。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
完整参考超过95个 Helius CLI 命令——账户管理、区块链查询、交易、DAS API、钱包、webhooks、流媒体、质押、ZK 压缩等。
--json 用于机器可读输出和 --api-key <key> / --network <net> 全局覆盖。详情请参见全局选项。
| Command | Description |
|---|---|
helius keygen | 生成一个新的Solana密钥对 |
helius signup | 创建一个Helius账户(需要--email, --first-name, --last-name;支持--plan, --period, --coupon, --pay, --resume) |
helius login | 使用现有钱包进行身份验证 |
helius upgrade | 升级您的计划(需要--email, --first-name, --last-name;支持--plan, --period, --coupon) |
helius pay <id> | 支付现有的付款意图(例如,续订) |
| 命令 | 描述 |
|---|---|
helius projects | 列出所有项目 |
helius project [id] | 获取项目详情 |
helius apikeys [project-id] | 列出项目的 API Keys |
helius apikeys create [project-id] | 创建新的 API Key |
helius usage [project-id] | 显示信用使用情况 |
helius rpc [project-id] | 显示 RPC 端点 |
| 命令 | 描述 |
|---|---|
helius config show | 显示当前配置(--reveal 显示完整 API Key) |
helius config set-api-key <key> | 设置 Helius API Key |
helius config set-network <net> | 设置网络(mainnet 或 devnet) |
helius config set-project <id> | 设置默认项目 ID |
helius config clear | 清除所有配置 |
| Command | Description |
|---|---|
helius balance <address> | 获取本机SOL余额 |
helius tokens <address> | 获取可替代代币余额(--limit) |
helius token-holders <mint> | 获取代币的顶级持有者(--limit) |
| Command | Description |
|---|---|
helius tx parse <signatures...> | 解析交易为人类可读格式 |
helius tx history <address> | 获取增强的交易历史(--limit, --before, --type) |
helius tx fees | 获取优先费用估算(--accounts) |
| Command | Description |
|---|---|
helius asset get <id> | 通过铸币地址获取资产详细信息 |
helius asset batch <ids...> | 获取多个资产 |
helius asset owner <address> | 按所有者获取资产(--page, --limit) |
helius asset creator <address> | 通过创建者获取资产(--verified) |
helius asset authority <address> | 通过更新授权获取资产 |
helius asset collection <address> | 获取集合中的资产 |
helius asset search | 使用过滤器进行搜索(--owner, --creator, --compressed, --burnt) |
helius asset proof <id> | 获取压缩NFT的Merkle证明 |
helius asset proof-batch <ids...> | 批量Merkle证明 |
helius asset editions <mint> | 获取NFT版本 |
helius asset signatures <id> | 获取资产的交易签名 |
helius asset token-accounts | 查询代币账户(--owner, --mint) |
| 命令 | 描述 |
|---|---|
helius wallet identity <address-or-domain> | 查询钱包所有者(接受 .sol 和 ANS 域) |
helius wallet identity-batch <addrs-or-domains...> | 批量身份查询(混合地址和域名) |
helius wallet balances <address> | 获取所有代币余额及美元价值(--show-nfts) |
helius wallet history <address> | 带余额变化的交易历史(--type, --limit) |
helius wallet transfers <address> | 包含发送者/接收者信息的代币转移 |
helius wallet funded-by <address> | 查找原始资金来源 |
| 命令 | 描述 |
|---|---|
helius webhook list | 列出所有webhooks |
helius webhook get <id> | 获取webhook详细信息 |
helius webhook create | 创建webhook (--url, --accounts, --types, --webhook-type) |
helius webhook update <id> | 更新webhook |
helius webhook delete <id> | 删除webhook |
| 命令 | 描述 |
|---|---|
helius send broadcast <base64-tx> | 广播签名事务并轮询确认 |
helius send raw <base64-tx> | 发送原始事务 |
helius send sender <base64-tx> | 通过Helius Sender发送以实现超低延迟 (--region) |
helius send poll <signature> | 轮询事务状态直至确认 |
helius send compute-units <base64-tx> | 模拟并返回计算单元估算 |
| 命令 | 描述 |
|---|---|
helius ws account <address> | 流式账户变动通知 |
helius ws logs | 流式日志通知 (--mentions) |
helius ws slot | 流式槽位通知 |
helius ws signature <sig> | 流式签名确认 |
helius ws program <program-id> | 流式程序账户变动 |
| Command | Description |
|---|---|
helius program accounts <program-id> | 获取由程序拥有的账户 (--data-size, --limit) |
helius program accounts-all <program-id> | 获取所有程序账户(自动分页) |
helius program token-accounts <owner> | 按所有者获取代币账户 |
| Command | Description |
|---|---|
helius stake create <amount> | 创建质押交易 (SOL) |
helius stake unstake <stake-account> | 解除质押 |
helius stake withdraw <stake-account> | 提取质押的 SOL |
helius stake accounts <wallet> | 列出 Helius 质押账户 |
helius stake withdrawable <stake-account> | 检查可提金额 |
helius stake instructions <amount> | 获取质押指令 |
helius stake unstake-instruction <account> | 获取解除质押指令 |
helius stake withdraw-instruction <account> | 获取提款指令 |
| Command | Description |
|---|---|
helius zk account <addr-or-hash> | 获取压缩账户 |
helius zk accounts-by-owner <owner> | 按所有者获取压缩账户 |
helius zk balance <addr-or-hash> | 获取压缩余额 |
helius zk balance-by-owner <owner> | 按所有者获取压缩余额 |
helius zk token-holders <mint> | 获取压缩代币持有者 |
helius zk token-balance <account> | 获取压缩代币余额 |
helius zk token-accounts-by-owner <owner> | 按所有者获取压缩代币账户 |
helius zk token-accounts-by-delegate <delegate> | 按委托者获取压缩代币账户 |
helius zk token-balances-by-owner <owner> | 获取压缩代币余额 (V2) |
helius zk proof <addr-or-hash> | 获取压缩账户证明 |
helius zk proofs <addresses...> | 获取多个证明 |
helius zk multiple-accounts <addresses...> | 获取多个压缩账户 |
helius zk address-proofs <addresses...> | 获取新地址证明 (V2) |
helius zk signatures-account <account> | 压缩账户的签名 |
helius zk signatures-address <address> | 地址的签名 |
helius zk signatures-owner <owner> | 所有者的签名 |
helius zk signatures-token-owner <owner> | 代币所有者的签名 |
helius zk latest-signatures | 最新压缩签名 |
helius zk latest-non-voting | 最新非投票签名 |
helius zk tx <signature> | 带压缩信息的交易 |
helius zk validity-proof | 获取有效性证明 (--hashes, --addresses) |
helius zk indexer-health | 检查 ZK 索引器健康 |
helius zk indexer-slot | 获取 ZK 索引器槽位 |
helius zk signatures-for-asset <id> | 资产的压缩签名 |
| Command | Description |
|---|---|
helius account <address> | 获取 Solana 帐户信息 |
helius network-status | 获取 Solana 网络状态 |
helius block <slot> | 按插槽号获取区块详情 |
| Command | Description |
|---|---|
helius simd list | 列出所有 SIMD 提案 |
helius simd get <number> | 按编号读取特定的 SIMD |
此页面对您有帮助吗?