getNonceAccount method

Future<NonceAccount?> getNonceAccount(
  1. Pubkey nonceAccount, {
  2. GetNonceAccountConfig? config,
})

Returns the account information for a nonce account.

Implementation

Future<NonceAccount?> getNonceAccount(
  final Pubkey nonceAccount, {
  final GetNonceAccountConfig? config,
}) async =>
    (await getNonceAccountRaw(nonceAccount, config: config)).result?.value;