class InterledgerRustNodeClient {

  public BigDecimal getBalance(String accountName) throws SpspClientException {
    return execute(requestBuilder()
      .url(
        baseUrl.newBuilder().addPathSegment("accounts").addPathSegment(accountName).addPathSegment("balance").build()
      )
      .get()
      .build(), BalanceResponse.class)
      .getBalance();
  }

  @Deprecated public  InterledgerRustNodeClient(OkHttpClient okHttpClient, String authToken, String baseUrl);
  public  InterledgerRustNodeClient(
    final OkHttpClient okHttpClient, final String authToken, final HttpUrl baseUrl
  );

}