getAllBalance method
Implementation
Future<List<CoinBalance>> getAllBalance(String owner) async {
final result = await client.request(
'suix_getAllBalances',
[owner]
);
List<CoinBalance> list = [];
for (var coin in result) {
list.add(CoinBalance.fromJson(coin));
}
return list;
}