20 Compute Units.
Parameters
number The account id for subscription to cancel.
Returns
result boolean. The result will be an RpcResponse JSON object with unsubscribed success message.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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.
// Result
{ "jsonrpc": "2.0", "result": true, "id": 1 }
wscat -c wss://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE>
# wait for connection
{"id":1,"jsonrpc":"2.0","method": "programUnsubscribe", "params": [0]}
wscat -c wss://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE>
# wait for connection
{"id":1,"jsonrpc":"2.0","method": "programUnsubscribe", "params": [0]}