Parameters
The Pubkey encoded base-58 string
The configuration object with the following fields:
All fields are strings.
the node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
the node will query the most recent block that has been voted on by supermajority of the cluster.
the node will query its most recent block. Note that the block may not be complete.
The encoding format for account data. It can be one of base58 (slow), base64, base64+zstd or jsonParsed
The filter results using various filter objects; The account must meet all filter criteria to be included in results
Returns
The result will be an RpcResponse JSON object with id equal to the subscription id (needed to unsubscribe)
The notification format is the same as seen in the getProgramAccounts RPC HTTP method
1{2"jsonrpc": "2.0",3"result": 24040,4"id": 15}
1{2"jsonrpc": "2.0",3"result": 24040,4"id": 15}