}
}
public String getBittrexDepositAddress(String currency) throws IOException {
BittrexDepositAddressResponse response = bittrex.getdepositaddress(apiKey, signatureCreator, String.valueOf(nextNonce()), currency);
if (response.getSuccess()) {
return response.getResult().getAddress();
}
else {
throw new ExchangeException(response.getMessage());
}
}