class LivecoinAccountServiceRaw extends LivecoinBaseService {
  public LivecoinAccountServiceRaw(
      LivecoinExchange exchange, Livecoin livecoin, ResilienceRegistries resilienceRegistries) {
    super(exchange, livecoin, resilienceRegistries);
  }

  public List<LivecoinBalance> balances(String currency) throws IOException {
    return decorateApiCall(() -> service.balances(apiKey, signatureCreator, currency))
        .withRetry(retry("balances"))
        .call();
  }

  public String withdraw(DefaultWithdrawFundsParams params) throws IOException {
    LivecoinPaymentOutResponse response =
        decorateApiCall(
                () ->
                    service.paymentOutCoin(
                        apiKey,
                        signatureCreator,
                        params.getCurrency().getCurrencyCode(),
                        params.getAmount(),
                        params.getAddress()))
            .withRetry(retry("paymentOutCoin", NON_IDEMPOTENT_CALLS_RETRY_CONFIG_NAME))
            .call();
    return response.getData().get("id").toString();
  }

  public String walletAddress(Currency currency) throws IOException {
    LivecoinWalletAddressResponse response =
        decorateApiCall(
                () -> service.paymentAddress(apiKey, signatureCreator, currency.getCurrencyCode()))
            .withRetry(retry("paymentAddress"))
            .call();
    return response.getWallet();
  }

  public List<Map> funding(Date start, Date end, Integer limit, Long offset) throws IOException {<FILL_FUNCTION_BODY>}
}

    return decorateApiCall(
            () ->
                service.transactions(
                    apiKey,
                    signatureCreator,
                    String.valueOf(DateUtils.toMillisNullSafe(start)),
                    String.valueOf(DateUtils.toMillisNullSafe(end)),
                    "DEPOSIT,WITHDRAWAL",
                    limit,
                    offset))
        .withRetry(retry("transactions"))
        .call();
  
<methods>public void <init>(org.knowm.xchange.livecoin.LivecoinExchange, org.knowm.xchange.livecoin.Livecoin, org.knowm.xchange.client.ResilienceRegistries) <variables>protected final non-sealed java.lang.String apiKey,protected final non-sealed org.knowm.xchange.livecoin.Livecoin service,protected final non-sealed org.knowm.xchange.livecoin.LivecoinDigest signatureCreator