eth_unsubscribe
Introduction
This API cancels subscriptions with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully. It consumes 120 CUs.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
Subscription ID |
String |
The ID of the subscription you want to unsubscribe. |
Return Value
true is returned if a subscription was successfully canceled, or false is returned.
Request
wscat -c wss://your-http-endpoint/v1/<API-KEY> -x '{"jsonrpc":"2.0", "id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}'
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot