Skip to main content

programUnsubscribe RPC Method

Unsubscribe from program-owned account change notifications

Parameters

number required

id of account Subscription to cancel

Result

<bool> - unsubscribe success message

Code sample

{
"jsonrpc": "2.0",
"id": 1,
"method": "programUnsubscribe",
"params": [0]
}

Response

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