getBalance method
Returns the balance object of the address
Implementation
Future<Balance> getBalance(ToplAddress address) {
return _makeRPCCall<Map<String, dynamic>>('topl_balances', params: [
{
'addresses': [address.toBase58()]
}
]).then((value) {
return Balance.fromJson(value, address.toBase58());
});
}