getTransactionCount method

Future<int> getTransactionCount([
  1. String? blockTag
])

Returns the number of transactions this account has ever sent.

This is the value required to be included in transactions as the nonce.

Implementation

Future<int> getTransactionCount([String? blockTag]) =>
    _call<int>('getTransactionCount', blockTag != null ? [blockTag] : []);