public class CryptsyAccountServiceRaw extends CryptsyBasePollingService
apiKey, cryptsy, cryptsyAuthenticated, signatureCreator
exchange
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, getExchangeSymbols
verifyOrder, verifyOrder, verifyOrder
public 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.IOException
public 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.IOException
public 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.IOException
public CryptsyDepositAddressReturn getCurrentCryptsyDepositAddresses() throws IOException, ExchangeException
IOException
ExchangeException
public CryptsyWithdrawalReturn makeCryptsyWithdrawal(String address, BigDecimal amount) throws IOException, ExchangeException
address
- Address to withdraw toamount
- Amount to withdraw to addressIOException
ExchangeException
public CryptsyTransfersReturn getTransferHistory() throws IOException, ExchangeException
IOException
ExchangeException
public CryptsyGenericReturn<String> getWalletStatus() throws IOException, ExchangeException
IOException
ExchangeException
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.