Class CoinbaseBaseService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.coinbase.v2.service.CoinbaseBaseService
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
CoinbaseAccountServiceRaw
,CoinbaseMarketDataService
,CoinbaseTradeService
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CoinbaseAuthenticated
protected final CoinbaseV2Digest
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUnauthenticated resource that returns currencies supported on Coinbase.Unauthenticated resource that tells you the server time.protected String
getSignature
(BigDecimal timestamp, CoinbaseBaseService.HttpMethod method, String path, String body) protected void
showCurl
(CoinbaseBaseService.HttpMethod method, String apiKey, BigDecimal timestamp, String signature, String path, String json) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Field Details
-
coinbase
-
signatureCreator2
-
-
Constructor Details
-
CoinbaseBaseService
-
-
Method Details
-
getCoinbaseCurrencies
Unauthenticated resource that returns currencies supported on Coinbase.- Returns:
- A list of currency names and their corresponding ISO code.
- Throws:
IOException
- See Also:
-
getCoinbaseTime
Unauthenticated resource that tells you the server time.- Returns:
- The current server time.
- Throws:
IOException
- See Also:
-
getSignature
protected String getSignature(BigDecimal timestamp, CoinbaseBaseService.HttpMethod method, String path, String body) -
showCurl
protected void showCurl(CoinbaseBaseService.HttpMethod method, String apiKey, BigDecimal timestamp, String signature, String path, String json)
-