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