queryBalance method
query balance
Implementation
Future<BalanceData?> queryBalance(String? address) async {
final res = await service.queryBalance(address);
return res != null
? BalanceData.fromJson(res as Map<String, dynamic>)
: null;
}