getTransactionCount method
- String address
Implementation
Future<BigInt> getTransactionCount(String address) async {
final response = await _call<String>(
'eth_getTransactionCount',
args: [address, 'latest'],
);
final count = response.toBigIntOrNull;
if (count == null) throw Exception('Could not parse transaction count');
return count;
}