Class CoinbaseAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.coinbase.v2.service.CoinbaseBaseService
org.knowm.xchange.coinbase.v2.service.CoinbaseAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
CoinbaseAccountService
public class CoinbaseAccountServiceRaw extends CoinbaseBaseService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoinbaseAccountServiceRaw.CreateCoinbaseAccountPayload
Nested classes/interfaces inherited from class org.knowm.xchange.coinbase.v2.service.CoinbaseBaseService
CoinbaseBaseService.HttpMethod
-
Field Summary
Fields inherited from class org.knowm.xchange.coinbase.v2.service.CoinbaseBaseService
coinbase, signatureCreator2
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Constructor Description CoinbaseAccountServiceRaw(Exchange exchange)
-
Method Summary
Modifier and Type Method Description CoinbaseAccountData.CoinbaseAccount
createCoinbaseAccount(String name)
Authenticated resource that creates a new BTC account for the current user.CoinbaseAccountData.CoinbaseAccount
getCoinbaseAccount(Currency currency)
Authenticated resource that shows the current user account for the give currency.List<CoinbaseAccountData.CoinbaseAccount>
getCoinbaseAccounts()
Authenticated resource that shows the current user accounts.List<CoinbasePaymentMethodsData.CoinbasePaymentMethod>
getCoinbasePaymentMethods()
Authenticated resource that shows the current user payment methods.Map
getDeposits(String accountId)
CoinbaseTransactionsResponse
getTransactions(String accountId)
Map
getWithdrawals(String accountId)
Methods inherited from class org.knowm.xchange.coinbase.v2.service.CoinbaseBaseService
getCoinbaseCurrencies, getCoinbaseTime, getSignature, showCurl
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
CoinbaseAccountServiceRaw
-
-
Method Details
-
getTransactions
- Throws:
IOException
-
getDeposits
- Throws:
IOException
-
getWithdrawals
- Throws:
IOException
-
getCoinbaseAccounts
Authenticated resource that shows the current user accounts.- Throws:
IOException
- See Also:
- developers.coinbase.com/api/v2#list-accounts
-
getCoinbaseAccount
public CoinbaseAccountData.CoinbaseAccount getCoinbaseAccount(Currency currency) throws IOExceptionAuthenticated resource that shows the current user account for the give currency.- Throws:
IOException
- See Also:
- developers.coinbase.com/api/v2#show-an-account
-
createCoinbaseAccount
Authenticated resource that creates a new BTC account for the current user.- Throws:
IOException
- See Also:
- developers.coinbase.com/api/v2#create-account
-
getCoinbasePaymentMethods
public List<CoinbasePaymentMethodsData.CoinbasePaymentMethod> getCoinbasePaymentMethods() throws IOExceptionAuthenticated resource that shows the current user payment methods.- Throws:
IOException
- See Also:
- developers.coinbase.com/api/v2?shell#list-payment-methods
-