---
updatedAt: 2025-06-11T20:35:34.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# [WSS] eth_unsubscribe

Cancel subscriptions by calling this method with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully.

# Parameters

* `subscription ID`: The ID of the subscription you want to unsubscribe.

```shell
wscat -c wss://ethereum-mainnet-archive-ws.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj

'{"jsonrpc":"2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}'
```

# Returns

* `unsubscribed flag`: `BOOLEAN` - True if the subscription is canceled successfully.

```json
{
    "jsonrpc":"2.0",
    "id":1,
    "result":true
}
```