Function get_account_with_context

Source
pub async fn get_account_with_context(
    client: &RpcClient,
    address: &Pubkey,
    config: RpcAccountInfoConfig,
) -> Result<WithContext<Option<Account>>>
Expand description

Get account with context.

The value inside the context will be None if the account does not exist.