getNonceByAddress static method
getNonceByAddress is the same as getNonce
Implementation
static Future<int?> getNonceByAddress(String address,
{bool txPool = true, RpcConfig? config}) async {
try {
return await _methodChannel.invokeMethod('getNonce', {
'address': address,
'txPool': txPool,
'seedRpc': config?.seedRPCServerAddr?.isNotEmpty == true
? config?.seedRPCServerAddr
: [DEFAULT_SEED_RPC_SERVER],
});
} catch (e) {
rethrow;
}
}