public class CryptsyAccountServiceRaw extends CryptsyBasePollingService
apiKey, cryptsy, cryptsyAuthenticated, signatureCreatorexchange| Constructor and Description |
|---|
CryptsyAccountServiceRaw(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CryptsyNewAddressReturn |
generateNewCryptsyDepositAddress(Integer currencyID,
String currencyCode)
Generates a new deposit address for the specified currency.
|
CryptsyAccountInfoReturn |
getCryptsyAccountInfo()
Retrieves account information, including wallet balances
|
CryptsyTxnHistoryReturn |
getCryptsyTransactions()
Retrieves transaction history
|
CryptsyDepositAddressReturn |
getCurrentCryptsyDepositAddresses()
Gets an map of current deposit addresses
|
CryptsyTransfersReturn |
getTransferHistory()
Get history of transfers (within Cryptsy, send to another user)
|
CryptsyGenericReturn<String> |
getWalletStatus()
Stub method for future development
|
CryptsyWithdrawalReturn |
makeCryptsyWithdrawal(String address,
BigDecimal amount)
Makes a withdrawal of given amount from Cryptsy to the pre-approved address given.
|
checkResult, getExchangeSymbolsverifyOrder, verifyOrder, verifyOrderpublic CryptsyAccountServiceRaw(Exchange exchange)
exchange - public CryptsyAccountInfoReturn getCryptsyAccountInfo() throws IOException, ExchangeException
ExchangeException - Indication that the exchange reported some kind of error with the request or response. Implementers should log this
error.IOExceptionpublic CryptsyTxnHistoryReturn getCryptsyTransactions() throws IOException, ExchangeException
ExchangeException - Indication that the exchange reported some kind of error with the request or response. Implementers should log this
error.IOExceptionpublic CryptsyNewAddressReturn generateNewCryptsyDepositAddress(@Nullable Integer currencyID, @Nullable String currencyCode) throws IOException, ExchangeException
currencyID - Nullable - Integer representation of the currencyID (not normally used)currencyCode - Nullable - String representation of the currencyCode (Eg: "BTC")ExchangeException - if both currencyID and currencyCode are nullExchangeException - Indication that the exchange reported some kind of error with the request or response. Implementers should log this
error.IOExceptionpublic CryptsyDepositAddressReturn getCurrentCryptsyDepositAddresses() throws IOException, ExchangeException
IOExceptionExchangeExceptionpublic CryptsyWithdrawalReturn makeCryptsyWithdrawal(String address, BigDecimal amount) throws IOException, ExchangeException
address - Address to withdraw toamount - Amount to withdraw to addressIOExceptionExchangeExceptionpublic CryptsyTransfersReturn getTransferHistory() throws IOException, ExchangeException
IOExceptionExchangeExceptionpublic CryptsyGenericReturn<String> getWalletStatus() throws IOException, ExchangeException
IOExceptionExchangeExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.