Skip to content

​Parameters

​0
string
required
Pubkey of the program_id, as base-58 encoded string
​1
object
Optional configuration object.

​Result

​result
integer
Subscription id. Pass this to programUnsubscribe.

​Notification format

Notifications are delivered as programNotification.
​jsonrpc
string
Always "2.0".
​method
string
Always "programNotification".
​params
object
Notification wrapper with a single matching account and the subscription id.