Parameters
The public key of account to query encoded as base-58 string
The configuration object with the following fields:
The level of commitment required for the query. The options include:
The node will query the most recent block the cluster has recognized as finalized
The node will query the most recent block that has been voted on by the 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
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 getAccountInfo RPC HTTP method
1{2"jsonrpc": "2.0",3"result": 23784,4"id": 15}
1{2"jsonrpc": "2.0",3"result": 23784,4"id": 15}