Class CoinbaseBaseService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.coinbase.service.CoinbaseBaseService
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
CoinbaseAccountService
,CoinbaseMarketDataService
,CoinbaseTradeService
- Author:
- jamespedwards42
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CoinbaseAuthenticated
protected final si.mazi.rescu.ParamsDigest
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates tokens redeemable for Bitcoin.Unauthenticated resource that creates a user with an email and password.createCoinbaseUser
(CoinbaseUser user, String oAuthClientId) Unauthenticated resource that creates a user with an email and password.Unauthenticated resource that returns currencies supported on Coinbase.protected <R extends CoinbaseBaseResponse>
RhandleResponse
(R response) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Field Details
-
coinbase
-
signatureCreator
protected final si.mazi.rescu.ParamsDigest signatureCreator
-
-
Constructor Details
-
CoinbaseBaseService
Constructor- Parameters:
exchange
-
-
-
Method Details
-
getCoinbaseCurrencies
Unauthenticated resource that returns currencies supported on Coinbase.- Returns:
- A list of currency names and their corresponding ISO code.
- Throws:
IOException
-
createCoinbaseUser
Unauthenticated resource that creates a user with an email and password.- Parameters:
user
- New Coinbase User information.- Returns:
- Information for the newly created user.
- Throws:
IOException
- See Also:
-
createCoinbaseUser
Unauthenticated resource that creates a user with an email and password.- Parameters:
user
- New Coinbase User information.oAuthClientId
- Optional client id that corresponds to your OAuth2 application.- Returns:
- Information for the newly created user, including information to perform future OAuth requests for the user.
- Throws:
IOException
- See Also:
-
createCoinbaseToken
Creates tokens redeemable for Bitcoin.- Returns:
- The returned Bitcoin address can be used to send money to the token, and will be credited to the account of the token redeemer if money is sent both before or after redemption.
- Throws:
IOException
- See Also:
-
handleResponse
-