getWalletNonce method

Future<int> getWalletNonce(
  1. String addressOrPublicKey
)

Implementation

Future<int> getWalletNonce(String addressOrPublicKey) async {
  final wallet = await getWallet(addressOrPublicKey);
  return wallet != null ? int.parse(wallet.nonce) : 0;
}