public class CryptsyAccountService extends CryptsyAccountServiceRaw implements PollingAccountService
apiKey, cryptsy, cryptsyAuthenticated, signatureCreator
exchange
Constructor and Description |
---|
CryptsyAccountService(Exchange exchange)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AccountInfo |
getAccountInfo()
Get account info
|
String |
requestDepositAddress(String currency,
String... args)
Request a digital currency address to fund this account.
|
String |
withdrawFunds(String currency,
BigDecimal amount,
String address)
Withdraw funds from this account.
|
generateNewCryptsyDepositAddress, getCryptsyAccountInfo, getCryptsyTransactions, getCurrentCryptsyDepositAddresses, getTransferHistory, getWalletStatus, makeCryptsyWithdrawal
checkResult, getExchangeSymbols
verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
public CryptsyAccountService(Exchange exchange)
exchange
- public AccountInfo getAccountInfo() throws IOException, ExchangeException
PollingAccountService
getAccountInfo
in interface PollingAccountService
IOException
- - Indication that a networking error occurred while fetching JSON dataExchangeException
- - Indication that the exchange reported some kind of error with the request or responsepublic String withdrawFunds(String currency, BigDecimal amount, String address) throws IOException, ExchangeException
PollingAccountService
withdrawFunds
in interface PollingAccountService
currency
- The currency to withdrawamount
- The amount to withdrawaddress
- The destination addressIOException
- - Indication that a networking error occurred while fetching JSON dataExchangeException
- - Indication that the exchange reported some kind of error with the request or responsepublic String requestDepositAddress(String currency, String... args) throws IOException, ExchangeException
PollingAccountService
requestDepositAddress
in interface PollingAccountService
currency
- The digital currency that corresponds to the desired deposit address.IOException
- - Indication that a networking error occurred while fetching JSON dataExchangeException
- - Indication that the exchange reported some kind of error with the request or responseCopyright © 2012–2018 Xeiam, LLC. All rights reserved.