queryBalance method

Future<Map?> queryBalance(
  1. String? address
)

query balance

Implementation

Future<Map?> queryBalance(String? address) async {
  final dynamic res = await serviceRoot.webView!
      .evalJavascript('account.getBalance(api, "$address")');
  return res;
}