Package org.knowm.xchange.coinbase
Interface CoinbaseAuthenticated
- All Superinterfaces:
Coinbase
@Path("api/v1")
@Produces("application/json")
public interface CoinbaseAuthenticated
extends Coinbase
- Author:
- jamespedwards42
-
Method Summary
Modifier and TypeMethodDescriptionbuy
(String quantity, boolean agreeBTCAmountVaries, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) cancelRequest
(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) completeRequest
(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) createButton
(CoinbaseButton button, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) createOrder
(String code, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) createOrder
(CoinbaseButton button, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) generateReceiveAddress
(CoinbaseAddressCallback callbackUrl, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getAccountChanges
(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getAddresses
(Integer page, Integer limit, String query, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getBalance
(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getContacts
(Integer page, Integer limit, String query, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getOrder
(String orderId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getOrders
(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getReceiveAddress
(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getRecurringPayment
(String recurringPaymentId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getRecurringPayments
(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getsSubscription
(String subscriptionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getsSubscriptions
(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getTransactionDetails
(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getTransactions
(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getTransfers
(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) getUsers
(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) redeemToken
(String tokenId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) requestMoney
(CoinbaseTransaction transactionRequest, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) resendRequest
(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) sell
(String quantity, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) sendMoney
(CoinbaseTransaction transactionRequest, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) updateUser
(String userId, CoinbaseUser user, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce) Methods inherited from interface org.knowm.xchange.coinbase.Coinbase
createToken, createUser, getBuyPrice, getCurrencies, getCurrencyExchangeRates, getHistoricalSpotRates, getSellPrice, getSpotRate
-
Method Details
-
getUsers
@GET @Path("users") CoinbaseUsers getUsers(@HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
updateUser
@PUT @Path("users/{userId}") @Consumes("application/json") CoinbaseUser updateUser(@PathParam("userId") String userId, CoinbaseUser user, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
redeemToken
@POST @Path("tokens/redeem") @Consumes("application/x-www-form-urlencoded") CoinbaseBaseResponse redeemToken(@QueryParam("token_id") String tokenId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getBalance
@GET @Path("account/balance") CoinbaseMoney getBalance(@HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getReceiveAddress
@GET @Path("account/receive_address") CoinbaseAddress getReceiveAddress(@HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
generateReceiveAddress
@POST @Path("account/generate_receive_address") @Consumes("application/json") CoinbaseAddress generateReceiveAddress(CoinbaseAddressCallback callbackUrl, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getAccountChanges
@GET @Path("account_changes") CoinbaseAccountChanges getAccountChanges(@QueryParam("page") Integer page, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getAddresses
@GET @Path("addresses") CoinbaseAddresses getAddresses(@QueryParam("page") Integer page, @QueryParam("limit") Integer limit, @QueryParam("query") String query, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getContacts
@GET @Path("contacts") CoinbaseContacts getContacts(@QueryParam("page") Integer page, @QueryParam("num_pages") Integer limit, @QueryParam("query") String query, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getTransfers
@GET @Path("transfers") CoinbaseTransfers getTransfers(@QueryParam("page") Integer page, @QueryParam("limit") Integer limit, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getTransactions
@GET @Path("transactions") CoinbaseTransactions getTransactions(@QueryParam("page") Integer page, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getTransactionDetails
@GET @Path("transactions/{transactionId}") CoinbaseTransaction getTransactionDetails(@PathParam("transactionId") String transactionId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
requestMoney
@POST @Path("transactions/request_money") @Consumes("application/json") CoinbaseTransaction requestMoney(CoinbaseTransaction transactionRequest, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
sendMoney
@POST @Path("transactions/send_money") @Consumes("application/json") CoinbaseTransaction sendMoney(CoinbaseTransaction transactionRequest, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
resendRequest
@PUT @Path("transactions/{transactionId}/resend_request") @Consumes("application/x-www-form-urlencoded") CoinbaseBaseResponse resendRequest(@PathParam("transactionId") String transactionId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
completeRequest
@PUT @Path("transactions/{transactionId}/complete_request") @Consumes("application/x-www-form-urlencoded") CoinbaseTransaction completeRequest(@PathParam("transactionId") String transactionId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
cancelRequest
@DELETE @Path("transactions/{transactionId}/cancel_request") @Consumes("application/x-www-form-urlencoded") CoinbaseBaseResponse cancelRequest(@PathParam("transactionId") String transactionId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
createButton
@POST @Path("buttons") @Consumes("application/json") CoinbaseButton createButton(CoinbaseButton button, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getOrders
@GET @Path("orders") CoinbaseOrders getOrders(@QueryParam("page") Integer page, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getOrder
@GET @Path("orders/{orderId}") CoinbaseOrder getOrder(@PathParam("orderId") String orderId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
createOrder
@POST @Path("buttons/{code}/create_order") @Consumes("application/x-www-form-urlencoded") CoinbaseOrder createOrder(@PathParam("code") String code, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
createOrder
@POST @Path("orders") @Consumes("application/json") CoinbaseOrder createOrder(CoinbaseButton button, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getRecurringPayments
@GET @Path("recurring_payments") CoinbaseRecurringPayments getRecurringPayments(@QueryParam("page") Integer page, @QueryParam("limit") Integer limit, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getRecurringPayment
@GET @Path("recurring_payments/{recurringPaymentId}") CoinbaseRecurringPayment getRecurringPayment(@PathParam("recurringPaymentId") String recurringPaymentId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getsSubscriptions
@GET @Path("subscribers") CoinbaseSubscriptions getsSubscriptions(@QueryParam("page") Integer page, @QueryParam("limit") Integer limit, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
getsSubscription
@GET @Path("subscribers/{subscriptionId}") CoinbaseSubscription getsSubscription(@PathParam("subscriptionId") String subscriptionId, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
buy
@POST @Path("buys") @Consumes("application/x-www-form-urlencoded") CoinbaseTransfer buy(@QueryParam("qty") String quantity, @QueryParam("agree_btc_amount_varies") boolean agreeBTCAmountVaries, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-
sell
@POST @Path("sells") @Consumes("application/x-www-form-urlencoded") CoinbaseTransfer sell(@QueryParam("qty") String quantity, @HeaderParam("ACCESS_KEY") String apiKey, @HeaderParam("ACCESS_SIGNATURE") si.mazi.rescu.ParamsDigest signer, @HeaderParam("ACCESS_NONCE") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException, CoinbaseException - Throws:
IOException
CoinbaseException
-