> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Helius 额度

> Helius 额度的完整指南，包括额度成本、额度的工作原理以及数据流解决方案的额度。

## 什么是积分？

积分是一种用于对RPC、API请求和数据流产品（如LaserStream gRPC和LaserStream WebSocket）的使用计费的记账单位。

每个计划都有一个基本额度数，每个 API 调用都有一个指定的额度成本。

下面，我们概述了每个计划的额度、API 的额度成本以及数据流的额度。

<CardGroup cols={3}>
  <Card title="每月分配" icon="calendar">
    额度每月重置
  </Card>

  <Card title="额度优先级" icon="arrow-down">
    额度消耗顺序：每月、预付、自动扩展
  </Card>

  <Card title="灵活计费" icon="credit-card">
    需要时支付额外额度
  </Card>
</CardGroup>

***

## 各计划的基本额度

以下是每个计划默认包含的总额度数的详细信息。

如果您需要更多积分，请升级您的计划，启用[自动扩展](/zh/billing/additional-credits)，购买预付积分，或联系销售以讨论企业选项。

欲了解更多信息，请阅读我们的[计划和定价指南](/zh/billing/plans)

<table>
  <thead align="left">
    <tr>
      <th width="160">功能</th>
      <th width="140">免费</th>
      <th width="140">开发者</th>
      <th width="140">商业</th>
      <th width="140">专业</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>价格</strong></td>
      <td>\$0/月</td>
      <td>\$49/月</td>
      <td>\$499/月</td>
      <td>\$999/月</td>
    </tr>

    <tr>
      <td><strong>每月积分</strong></td>
      <td>1M</td>
      <td>10M</td>
      <td>100M</td>
      <td>200M</td>
    </tr>
  </tbody>
</table>

***

## 标准积分

<table>
  <thead align="left">
    <tr>
      <th style={{width: '200px'}}>服务</th>
      <th style={{width: '50px'}}>积分</th>
      <th style={{width: '470px'}}>备注</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>标准 RPC 调用</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>所有 RPC 调用，除非单独列出</td>
    </tr>

    <tr>
      <td><strong>getProgramAccounts</strong></td>
      <td style={{textAlign: 'center'}}>10</td>
      <td>获取由程序拥有的所有账户/数据</td>
    </tr>

    <tr>
      <td><strong>getProgramAccountsV2</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>getProgramAccounts 的分页版本</td>
    </tr>

    <tr>
      <td><strong>simulateBundle</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>模拟 Jito Bundles</td>
    </tr>

    <tr>
      <td><strong>Priority Fee API</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>估算优先费用</td>
    </tr>

    <tr>
      <td><strong>DAS API</strong></td>
      <td style={{textAlign: 'center'}}>10</td>
      <td>所有 DAS 端点</td>
    </tr>

    <tr>
      <td><strong>增强交易</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>增强的交易解析</td>
    </tr>
  </tbody>
</table>

## 历史数据积分

<div id="historical-data" />

[历史数据查询](/zh/rpc/guides/overview#historical-data-archival)，有时称为存档调用，每个调用花费**1积分**。

例外是 [`getTransactionsForAddress`](/zh/rpc/gettransactionsforaddress)，起始为 **10 积分**，根据返回结果计量，和 [`getTransfersByAddress`](/zh/rpc/gettransfersbyaddress)，费用为 **10 积分**。

<table>
  <thead align="left">
    <tr>
      <th style={{width: '200px'}}>方法</th>
      <th style={{width: '100px', textAlign: 'center'}}>积分</th>
      <th>描述</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>getBlock</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>检索指定插槽的区块数据和交易</td>
    </tr>

    <tr>
      <td><code>getBlocks</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>获取两个插槽之间的区块列表</td>
    </tr>

    <tr>
      <td><code>getBlocksWithLimit</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>从给定插槽开始获取有限制的区块</td>
    </tr>

    <tr>
      <td><code>getSignaturesForAddress</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>获取地址的交易签名</td>
    </tr>

    <tr>
      <td><code>getTransaction</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>检索指定签名的交易详情</td>
    </tr>

    <tr>
      <td><code>getBlockTime</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>获取区块的预计生产时间</td>
    </tr>

    <tr>
      <td><code>getSignatureStatuses</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>获取交易签名的状态</td>
    </tr>

    <tr>
      <td><code>getInflationReward</code></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>获取某个周期的地址列表的通胀奖励</td>
    </tr>

    <tr>
      <td><code>getTransactionsForAddress</code></td>
      <td style={{textAlign: 'center'}}>10+</td>
      <td>增强的交易历史，具有高级过滤和排序功能。完整交易每返回100个需10积分；仅签名响应则为10积分。最多返回1,000个完整交易或签名。</td>
    </tr>

    <tr>
      <td><code>getTransfersByAddress</code></td>
      <td style={{textAlign: 'center'}}>10</td>
      <td>解析的代币和本机SOL转账历史。最多返回100个转账。</td>
    </tr>
  </tbody>
</table>

<Warning>
  **计划要求**: `getTransfersByAddress` 仅在开发者计划及以上可用。免费计划用户尝试使用此端点时将收到错误。
</Warning>

### getTransactionsForAddress

`getTransactionsForAddress` 计费根据成功响应的返回内容进行调整：

| 响应类型    | 积分                         |
| ------- | -------------------------- |
| 完整交易    | 每返回100笔交易需10积分，向上取整；最低10积分 |
| 仅签名     | 固定10积分，无论数量多少              |
| API响应失败 | 免费                         |

示例：

| 返回         | 点数  |
| ---------- | --- |
| 1-100 完整交易 | 10  |
| 250 完整交易   | 30  |
| 1,000 完整交易 | 100 |

## 数据流传输点数

不同于按调用分配积分的常规积分，数据流产品如LaserStream gRPC和LaserStream WebSocket按消耗的数据量分配积分。

<table>
  <thead>
    <tr>
      <th style={{width: '200px'}}>服务</th>
      <th style={{width: '50px'}}>积分</th>
      <th style={{width: '470px'}}>备注</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>LaserStream WSS （标准 Solana 方法）</strong></td>
      <td style={{textAlign: 'center'}}>2</td>
      <td>每 0.1 MB 流数据（未压缩）。适用于所有计划。</td>
    </tr>

    <tr>
      <td><strong>LaserStream WSS （Helius 扩展）</strong></td>
      <td style={{textAlign: 'center'}}>2</td>
      <td>每 0.1 MB 流数据（未压缩）。适用于开发者、商业和专业计划。</td>
    </tr>

    <tr>
      <td><strong>LaserStream gRPC</strong></td>
      <td style={{textAlign: 'center'}}>2</td>
      <td>每 0.1 MB 流数据（未压缩）。适用于商业和专业计划（主网）；适用于所有计划（开发网络）。</td>
    </tr>

    <tr>
      <td><strong>Shred Delivery — 预处理交易</strong></td>
      <td style={{textAlign: 'center'}}>2</td>
      <td>每 0.1 MB 流数据（未压缩）。仅适用于专业计划。</td>
    </tr>

    <tr>
      <td><strong>数据附加组件（仅专业计划）</strong></td>
      <td style={{textAlign: 'center'}}>2</td>
      <td>超出包含限额后的每 0.1 MB（5-100TB）。适用于 LaserStream gRPC 和 LaserStream WebSocket 使用。</td>
    </tr>
  </tbody>
</table>

### 预确认

[Pre Confirmations](/zh/pre-confirmations/overview) 通过 WebSocket 以最低可能的延迟流式传输预定交易。适用于**专业计划及以上**。按**每条消息 10 积分**计费（每个流式交易一条消息）。预确认是一个新产品，价格可能会有所变化。

### LaserStream WebSocket

[LaserStream WebSocket](/zh/rpc/websocket) 在统一的`wss://mainnet.helius-rpc.com`端点提供标准的Solana订阅方法以及Helius特定的扩展（`transactionSubscribe`，增强的`accountSubscribe`）。标准方法适用于所有计划；Helius扩展需要开发者、商业或专业计划。所有WebSocket使用按**每0.1 MB 2积分**计费。

### LaserStream gRPC

[LaserStream gRPC](/zh/laserstream) 主网适用于商业和专业计划。LaserStream gRPC Devnet适用于所有计划。所有用户按**每0.1 MB 2积分**计费。

### Shred Delivery — 预处理的交易

[Preprocessed transactions](/zh/shred-delivery/preprocessed-transactions) （经gRPC传送的解码shreds，约比`processed`提前8毫秒）适用于专业计划订阅者，按**每0.1 MB 2积分**计费（与LaserStream gRPC相同的费率）。

### Shred Delivery — 原始Shreds

[Raw Shreds (UDP)](/zh/shred-delivery/raw-shreds) 是我们卓越的低延迟shred传送服务。您可以[从您的Helius仪表板访问原始shreds](https://dashboard.helius.dev/shred-delivery-seats)。只需添加一个席位并输入您的IP地址即可开始接收shreds。

原始shreds不消耗积分。原始shreds对所有客户开放。每个席位为\$1,000/月绑定一个IP。如果您是专业计划，每个席位的费用为\$800/月/IP。

### 数据附加包

如果您使用的是专业计划，您可以每月购买5TB-100TB的[数据附加包](/zh/billing/plans#data-add-ons)，用于LaserStream gRPC和LaserStream WebSocket。

超出部分将按每0.1 MB 2个积分收费。

### 数据大小

数据流产品的计费基于未压缩的消息大小。

典型大小包括：

<ul>
  <li>区块（\~4MB）</li>
  <li>账户（\~0.0004MB）</li>
  <li>交易（\~0.0006MB）</li>
</ul>

<Warning>
  **这些仅为粗略估算。** 实际数据使用量取决于您的特定使用情况，包括账户大小、交易类型、您正在监听的程序以及交易元数据大小。您应根据自己的流量估算使用量。将以上数值视为方向性的估算，而非保证。
</Warning>

## 交易提交积分

Helius 提供两种主要交易提交方法：[Sender](/zh/sending-transactions/sender)，我们为交易者和低延迟应用设计的专业交易着陆服务；以及 [Staked Connections](/zh/sending-transactions/overview)（默认）以快速、可靠的着陆率。

<table>
  <thead>
    <tr>
      <th style={{width: '300px'}}>方法</th>
      <th style={{width: '100px'}}>积分</th>
      <th style={{width: '320px'}}>描述</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>Sender</strong></td>
      <td style={{textAlign: 'center'}}>0</td>
      <td>超低延迟提交</td>
    </tr>

    <tr>
      <td><strong>Staked Connections</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>最高可靠性（默认）</td>
    </tr>

    <tr>
      <td><strong>sendBundle</strong></td>
      <td style={{textAlign: 'center'}}>10</td>
      <td>通过 Jito 成束提交</td>
    </tr>
  </tbody>
</table>

<Info>
  **所有付费计划交易默认使用 Staked Connections**: 所有通过 `mainnet.helius-rpc.com` 的交易自动使用 staked connections 以获得最高成功率。
</Info>

## DAS API 积分

所有[DAS API](/zh/api-reference/das)请求每次花费 **10积分**：

<CardGroup cols={2}>
  <Card title="资产信息">
    * `getAsset`
    * `getAssetProof`
    * `getAssetProofBatch`
    * `getNftEditions`
  </Card>

  <Card title="资产发现">
    * `getAssetsByOwner`
    * `getAssetsByAuthority`
    * `getAssetsByCreator`
    * `getAssetsByGroup`
    * `searchAssets`
    * `getAssetBatch`
  </Card>

  <Card title="交易历史">
    * `getSignaturesForAsset`
  </Card>

  <Card title="账户信息">
    * `getTokenAccounts`
  </Card>
</CardGroup>

***

## 钱包 API 积分

所有 [钱包 API](/zh/api-reference/wallet-api) 请求每次消耗 **100 积分**：

<table>
  <thead>
    <tr>
      <th style={{width: '200px'}}>服务</th>
      <th style={{width: '50px'}}>积分</th>
      <th style={{width: '470px'}}>备注</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>钱包身份</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>获取钱包身份（交易所、协议、机构）</td>
    </tr>

    <tr>
      <td><strong>批量身份查找</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>在一个请求中查找最多 100 个地址</td>
    </tr>

    <tr>
      <td><strong>钱包余额</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>获取代币和 NFT 余额及其美元价值</td>
    </tr>

    <tr>
      <td><strong>历史余额</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>获取某个时间戳或插槽的代币或 SOL 余额</td>
    </tr>

    <tr>
      <td><strong>钱包历史</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>获取包含余额变化的交易历史</td>
    </tr>

    <tr>
      <td><strong>代币转账</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>获取所有代币转账活动</td>
    </tr>

    <tr>
      <td><strong>钱包资金来源</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>发现最初为钱包提供资金的人</td>
    </tr>
  </tbody>
</table>

有关使用钱包 API 的更多信息，请阅读我们的[钱包 API 文档](/zh/wallet-api/overview)。

***

## Webhook 积分

<table>
  <thead>
    <tr>
      <th style={{width: '200px'}}>服务</th>
      <th style={{width: '50px'}}>积分</th>
      <th style={{width: '470px'}}>备注</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>Webhook 事件</strong></td>
      <td style={{textAlign: 'center'}}>1</td>
      <td>每个由 Helius 发送的事件，无论端点响应成功或失败</td>
    </tr>

    <tr>
      <td><strong>Webhook 管理</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>创建、编辑、删除 webhooks</td>
    </tr>
  </tbody>
</table>

有关使用 webhooks 的更多信息，请阅读我们的[快速入门指南](/zh/webhooks)。

## ZK 压缩积分

所有 [ZK 压缩 API](/zh/api-reference/zk-compression) 调用每次消耗 **10 积分**。

一个例外是 `getValidityProof`，其每次请求消耗 100 积分，因为计算量大。

<table>
  <thead>
    <tr>
      <th style={{width: '200px'}}>服务</th>
      <th style={{width: '50px'}}>积分</th>
      <th style={{width: '470px'}}>备注</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><strong>ZK 压缩 API</strong></td>
      <td style={{textAlign: 'center'}}>10</td>
      <td>ZK 压缩 RPC 调用</td>
    </tr>

    <tr>
      <td><strong>getValidityProofs</strong></td>
      <td style={{textAlign: 'center'}}>100</td>
      <td>计算 ZK 证明</td>
    </tr>
  </tbody>
</table>

***
