public class MeXBTAccountService extends MeXBTAccountServiceRaw implements PollingAccountService
apiKey, meXBTAuthenticated, meXBTDigest, nonceFactoryexchange| Constructor and Description |
|---|
MeXBTAccountService(Exchange exchange) |
| 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.
|
getBalance, getDepositAddresses, getMe, withdrawgetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolspublic MeXBTAccountService(Exchange exchange)
public AccountInfo getAccountInfo() throws ExchangeException, IOException
getAccountInfo in interface PollingAccountServiceExchangeException - - Indication that the exchange reported some kind of error with the request or responseIOException - - Indication that a networking error occurred while fetching JSON datapublic String withdrawFunds(String currency, BigDecimal amount, String address) throws ExchangeException, IOException
withdrawFunds in interface PollingAccountServicecurrency - The currency to withdrawamount - The amount to withdrawaddress - The destination addressExchangeException - - Indication that the exchange reported some kind of error with the request or responseIOException - - Indication that a networking error occurred while fetching JSON datapublic String requestDepositAddress(String currency, String... args) throws ExchangeException, IOException
requestDepositAddress in interface PollingAccountServicecurrency - The digital currency that corresponds to the desired deposit address.ExchangeException - - Indication that the exchange reported some kind of error with the request or responseIOException - - Indication that a networking error occurred while fetching JSON dataCopyright © 2012–2017 Xeiam, LLC. All rights reserved.