class InterledgerRustNodeClient {

  public RustNodeAccount createAccount(RustNodeAccount rustNodeAccount) throws IOException {
    return execute(requestBuilder()
      .url(baseUrl.newBuilder().addPathSegment("accounts").build())
      .post(RequestBody.create(objectMapper.writeValueAsString(rustNodeAccount), JSON))
      .build(), RustNodeAccount.class);
  }

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

}