getTransactionCount method
Returns the number of transactions address
has ever sent, as of blockTag
.
This value is required to be the nonce for the next transaction from address sent to the network.
Implementation
Future<int> getTransactionCount(String address, [dynamic blockTag]) =>
call<int>(
'getTransactionCount',
blockTag != null ? [address, blockTag] : [address],
);