> For the complete documentation index, see [llms.txt](https://docs.solanavibestation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solanavibestation.com/api-reference/solana-rpc/websocket-methods/blockunsubscribe.md).

# blockUnsubscribe

{% hint style="danger" %}
This method is considered unstable and therefore is not supported on our RPC nodes.
{% endhint %}

## blockUnsubscribe — Cancel a block subscription (UNSUPPORTED on SVS)

> \*\*Not available on SVS nodes.\*\* This method is considered unstable in Agave/Solana and is therefore not enabled on our RPC infrastructure. Calls will be rejected. Use an alternative subscription method or polling-based pattern for this use case. Unsubscribe from block notifications.\
> \*\*Parameters\*\*\
> \
> 0\. \`subscriptionId\` (required) — Subscription id returned by blockSubscribe.<br>

```json
{"openapi":"3.0.3","info":{"title":"WebSocket RPC: blockUnsubscribe","version":"1.0.0"},"tags":[{"name":"Block Subscriptions","description":"WebSocket RPC block subscriptions method."}],"servers":[{"url":"wss://public.rpc.solanavibestation.com","description":"Public WebSocket endpoint (rate-limited)"},{"url":"wss://lite.rpc.solanavibestation.com","description":"Lite tier WebSocket"},{"url":"wss://basic.rpc.solanavibestation.com","description":"Basic tier WebSocket"},{"url":"wss://ultra.rpc.solanavibestation.com","description":"Ultra tier WebSocket"},{"url":"wss://elite.rpc.solanavibestation.com","description":"Elite tier WebSocket"},{"url":"wss://epic.rpc.solanavibestation.com","description":"Epic tier WebSocket"}],"security":[{},{"AuthHeader":[]},{"URLParameter":[]}],"components":{"securitySchemes":{"AuthHeader":{"type":"apiKey","in":"header","name":"Authorization","description":"Pass `Authorization: <api-key>` on each request."},"URLParameter":{"type":"apiKey","in":"query","name":"api_key","description":"Pass `?api_key=<api-key>` on the URL."}},"schemas":{"JsonRpcEnvelope":{"type":"object","required":["jsonrpc","id"],"description":"Base envelope of every JSON-RPC 2.0 response.","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Echoed request id."}}},"JsonRpcErrorResponse":{"type":"object","required":["jsonrpc","id","error"],"description":"JSON-RPC 2.0 error response.","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"oneOf":[{"type":"string"},{"type":"integer"}]},"error":{"$ref":"#/components/schemas/JsonRpcError"}}},"JsonRpcError":{"type":"object","required":["code","message"],"description":"Structured JSON-RPC error.","properties":{"code":{"type":"integer","description":"Numeric error code per JSON-RPC 2.0 spec. Common values:\n- `-32700` Parse error\n- `-32600` Invalid Request\n- `-32601` Method not found\n- `-32602` Invalid params\n- `-32603` Internal error\n- `-32003` Unauthorized\n- `-32005` Too Many Requests\n- `-32015` Transaction version not supported\n"},"message":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}},"responses":{"UnauthorizedError":{"description":"Authentication required or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcErrorResponse"}}}},"ForbiddenError":{"description":"Insufficient permissions for the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcErrorResponse"}}}},"TooManyRequestsError":{"description":"Rate limit exceeded for this tier.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcErrorResponse"}}}},"InternalServerError":{"description":"Unexpected server error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcErrorResponse"}}}}}},"paths":{"/":{"post":{"operationId":"blockUnsubscribe","summary":"blockUnsubscribe — Cancel a block subscription (UNSUPPORTED on SVS)","tags":["Block Subscriptions"],"description":"**Not available on SVS nodes.** This method is considered unstable in Agave/Solana and is therefore not enabled on our RPC infrastructure. Calls will be rejected. Use an alternative subscription method or polling-based pattern for this use case. Unsubscribe from block notifications.\n**Parameters**\n\n0. `subscriptionId` (required) — Subscription id returned by blockSubscribe.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","id","method","params"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"],"description":"JSON-RPC protocol version."},"id":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Request identifier echoed back in the response."},"method":{"type":"string","enum":["blockUnsubscribe"],"description":"Must be `blockUnsubscribe`."},"params":{"type":"array","description":"Positional parameters. Each item below corresponds to one position in the array, in order.","minItems":1,"maxItems":1,"items":{"anyOf":[{"title":"subscriptionId","type":"integer","format":"int64","description":"Subscription id."}]}}}}}}},"responses":{"200":{"description":"Successful `blockUnsubscribe` response.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/JsonRpcEnvelope"},{"type":"object","required":["result"],"properties":{"result":{"type":"boolean","description":"True if the unsubscribe succeeded."}}}]}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"403":{"$ref":"#/components/responses/ForbiddenError"},"429":{"$ref":"#/components/responses/TooManyRequestsError"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```
