eth_unsubscribe
POST
/{apiKey}
Cancels an active subscription given its subscription ID.
⚠️ WARNING: WebSocket-Only Method ⚠️
This method REQUIRES a WebSocket connection using
wss://protocol. It will NOT work with standard HTTP/HTTPS requests orcurl. See the WebSocket documentation for examples.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Subscription IDstringformat: "^0x[0-9a-f]{64}$"The identifier of the subscription to cancel.
Responses
200
A boolean indicating whether the subscription was successfully canceled.
Was this page helpful?