getNonceByAddress method

Future<int?> getNonceByAddress(
  1. String address, {
  2. bool txPool = true,
})

getNonceByAddress is the same as getNonce

Implementation

Future<int?> getNonceByAddress(String address, {bool txPool = true}) async {
  try {
    int? resp = await _methodChannel.invokeMethod('getNonce', {
      '_id': this.address,
      'address': address,
      'txPool': txPool,
    });
    return resp;
  } catch (e) {
    rethrow;
  }
}