getBalance method

Future<GetBalanceRes> getBalance({
  1. required String gateway,
  2. required String accessToken,
  3. required String did,
})

Implementation

Future<GetBalanceRes> getBalance(
    {required String gateway,
    required String accessToken,
    required String did}) async {
  RubixServiceClient stub =
      getConnection(gateway: gateway, accessToken: accessToken);
  var response = await stub.getBalance(Empty());
  print("Get Balance Response:${response}");
  return response;
}