> ## 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.

# sendBundle

> 通过 Jito 的 Block Engine 提交最多 5 个已签名交易的原子捆绑包。通过您的 Helius RPC 端点代理。

提交最多 5 个已完整签名交易的捆绑包以进行原子执行。所有交易按顺序执行——如果任何一个失败，整个捆绑包将被拒绝。

需要在至少一个交易中提供给 [Jito 小费账户](/zh/sending-transactions/send-bundle#tip-accounts) 的小费。

## 速率限制

`sendBundle` 的速率限制为**每个项目每秒 5 个请求**。`getBundleStatuses` 和 `simulateBundle` 使用通用 RPC 速率限制。

<Tip>
  需要更高的速率限制？[联系我们的销售团队](https://www.helius.dev/contact)。
</Tip>

## Endpoint

```
POST https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY
```

## Request

<ParamField body="jsonrpc" type="string" required>
  `"2.0"`
</ParamField>

<ParamField body="id" type="number" required>
  请求标识符。
</ParamField>

<ParamField body="method" type="string" required>
  `"sendBundle"`
</ParamField>

<ParamField body="params[0]" type="array[string]" required>
  最多 5 个已完整签名交易的数组，base64 编码。
</ParamField>

<ParamField body="params[1].encoding" type="string">
  `"base64"`（推荐）或 `"base58"`。默认值：`"base58"`。
</ParamField>

## Headers

<ParamField header="jito-region" type="string">
  可选。路由到特定的 Jito Block Engine 地区。值：`ams`, `dub`, `fra`, `lon`, `nyc`, `slc`, `sgp`, `tyo`, `mainnet`。如果省略，则路由到全局端点（根据地理位置路由到最近的）。
</ParamField>

## Request Example

```bash theme={"system"}
curl "https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "jito-region: nyc" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "sendBundle",
    "params": [
      [
        "BASE64_SIGNED_TX_1",
        "BASE64_SIGNED_TX_2"
      ],
      {
        "encoding": "base64"
      }
    ]
  }'
```

## Response

<ResponseField name="result" type="string">
  捆绑包 ID（交易签名的 SHA-256 哈希）。与 `getBundleStatuses` 一起使用以跟踪着陆。
</ResponseField>

```json theme={"system"}
{
  "jsonrpc": "2.0",
  "result": "892b79ed49138bfb3aa5441f0df6e06ef34f9ee8f3976c15b323605bae0cf51d",
  "id": 1
}
```

## See Also

* [通过 Helius 的 Jito 捆绑包](/zh/sending-transactions/send-bundle) — 包含地区路由、小费账户和要求的完整指南
* [getBundleStatuses](/zh/api-reference/sender/getbundlestatuses) — 检查捆绑包着陆状态
* [simulateBundle](/zh/api-reference/rpc/http/simulatebundle) — 提交前测试捆绑包
