getTransactionCount method
Implementation
Future<int> getTransactionCount({
BlockTag? blockTag,
}) async {
if (provider == null) {
throw 'missing provider';
}
final address = await getAddress();
return await provider!.getTransactionCount(
address,
blockTag: blockTag,
);
}