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

# slotUnsubscribe

> スロット通知の購読を解除します。

## エンドポイント

WebSocketは次のURLでmainnetおよびdevnetで利用可能です。

* **Mainnet** `wss://mainnet.helius-rpc.com/?api-key=<api-key>`
* **Devnet** `wss://devnet.helius-rpc.com/?api-key=<api-key>`

<Note>WebSocketは10分間の非アクティブタイマーがあります。WebSocket接続を維持するために、ヘルスチェックを実施し、毎分pingを送信することを強くお勧めします。</Note>

## 承認

<ParamField query="api-key" type="string" required>
  あなたのHelius APIキー。無料で[ダッシュボード](https://dashboard.helius.dev/api-keys)から取得できます。
</ParamField>

## 本体

<ParamField body="params" type="array" required>
  <Expandable title="properties" defaultOpen>
    <ParamField body="subscriptionId" type="integer" required>
      キャンセルする購読ID。
    </ParamField>
  </Expandable>
</ParamField>

## レスポンス

<ResponseField name="result" type="boolean">
  購読解除成功メッセージ。
</ResponseField>

<RequestExample>
  ```json Request theme={"system"}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "slotUnsubscribe",
    "params": [
      0
    ]
  }
  ```
</RequestExample>

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