wscat -c wss://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE>
# wait for connection
{"id":1,"jsonrpc":"2.0","method": "accountUnsubscribe", "params": [0]}
(Subscription Websocket) Unsubscribe from account change notifications.
This method will use 20
Compute Units.
number
The account id for subscription to cancel.
result
boolean. The result will be an RpcResponse JSON object with unsubscribed success message.