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

# preconfUnsubscribe

> 通过其 ID 停止预确认订阅并停止接收计划交易通知。

停止使用 [preconfSubscribe](/docs/zh/api-reference/pre-confirmations/preconfsubscribe) 开始的订阅。通知会立即停止。

关闭连接会移除其所有订阅，因此您只需要此方法来停止一个订阅，同时保持同一连接上的其他订阅。

## 正文

<ParamField body="params" type="array" required>
  包含由 `preconfSubscribe` 返回的整数订阅 ID 的单元素数组。
</ParamField>

## 响应

<ResponseField name="result" type="boolean">
  如果订阅存在且属于您，则为 `true`。
</ResponseField>

<RequestExample>
  ```json Request theme={"system"}
  { "jsonrpc": "2.0", "id": 2, "method": "preconfUnsubscribe", "params": [24040] }
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={"system"}
  { "jsonrpc": "2.0", "id": 2, "result": true }
  ```
</ResponseExample>
