return getDeposits(currency, true);
}
public BTCChinaGetDepositsResponse getDeposits(String currency, boolean pendingOnly) throws IOException {
BTCChinaGetDepositsRequest request = new BTCChinaGetDepositsRequest(currency, pendingOnly);
BTCChinaGetDepositsResponse response = btcChina.getDeposits(signatureCreator, BTCChinaUtils.getNonce(), request);
return checkResult(response);
}