Class CoinbaseProAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<CoinbaseProExchange>
org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
org.knowm.xchange.coinbasepro.service.CoinbaseProAccountServiceRaw
org.knowm.xchange.coinbasepro.service.CoinbaseProAccountService
- All Implemented Interfaces:
AccountService,BaseService
public class CoinbaseProAccountService
extends CoinbaseProAccountServiceRaw
implements AccountService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from class org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
apiKey, coinbasePro, digest, passphraseFields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistriesFields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange -
Constructor Summary
ConstructorsConstructorDescriptionCoinbaseProAccountService(CoinbaseProExchange exchange, ResilienceRegistries resilienceRegistries) -
Method Summary
Modifier and TypeMethodDescriptiongetFundingHistory(TradeHistoryParams params) moveFunds(Currency currency, String address, BigDecimal amount) requestDepositAddress(Currency currency, String... args) Deprecated.requestDepositAddressData(Currency currency, String... args) withdrawFunds(Currency currency, BigDecimal amount, String address) withdrawFunds(Currency currency, BigDecimal amount, AddressWithTag address) withdrawFunds(WithdrawFundsParams params) Methods inherited from class org.knowm.xchange.coinbasepro.service.CoinbaseProAccountServiceRaw
getCoinbaseAccountAddress, getCoinbaseAccounts, getCoinbaseProAccountInfo, getCoinbaseProFees, getWebsocketAuthData, ledger, report, requestNewReport, sendMoney, transfers, transfers, withdrawCryptoMethods inherited from class org.knowm.xchange.coinbasepro.service.CoinbaseProBaseService
handleErrorMethods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retryMethods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
CoinbaseProAccountService
public CoinbaseProAccountService(CoinbaseProExchange exchange, ResilienceRegistries resilienceRegistries)
-
-
Method Details
-
getAccountInfo
- Specified by:
getAccountInfoin interfaceAccountService- Throws:
IOException
-
getDynamicTradingFeesByInstrument
- Specified by:
getDynamicTradingFeesByInstrumentin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOException - Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
withdrawFunds
public String withdrawFunds(Currency currency, BigDecimal amount, AddressWithTag address) throws IOException - Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
withdrawFunds
- Specified by:
withdrawFundsin interfaceAccountService- Throws:
IOException
-
moveFunds
- Throws:
IOException
-
requestDepositAddress
@Deprecated public String requestDepositAddress(Currency currency, String... args) throws IOException Deprecated.- Specified by:
requestDepositAddressin interfaceAccountService- Throws:
IOException
-
requestDepositAddressData
public AddressWithTag requestDepositAddressData(Currency currency, String... args) throws IOException - Specified by:
requestDepositAddressDatain interfaceAccountService- Throws:
IOException
-
createFundingHistoryParams
- Specified by:
createFundingHistoryParamsin interfaceAccountService
-
getTransfersWithPagination
public CoinbaseProTransfersWithHeader getTransfersWithPagination(TradeHistoryParams params) throws IOException - Throws:
IOException
-
getFundingHistory
- Specified by:
getFundingHistoryin interfaceAccountService- Throws:
IOException
-