Package org.knowm.xchange.coinbase
Interface CoinbaseAuthenticated
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoinbaseTransferbuy(String quantity, boolean agreeBTCAmountVaries, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseBaseResponsecancelRequest(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransactioncompleteRequest(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseButtoncreateButton(CoinbaseButton button, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseOrdercreateOrder(String code, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseOrdercreateOrder(CoinbaseButton button, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseAddressgenerateReceiveAddress(CoinbaseAddressCallback callbackUrl, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseAccountChangesgetAccountChanges(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseAddressesgetAddresses(Integer page, Integer limit, String query, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseMoneygetBalance(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseContactsgetContacts(Integer page, Integer limit, String query, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseOrdergetOrder(String orderId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseOrdersgetOrders(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseAddressgetReceiveAddress(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseRecurringPaymentgetRecurringPayment(String recurringPaymentId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseRecurringPaymentsgetRecurringPayments(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseSubscriptiongetsSubscription(String subscriptionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseSubscriptionsgetsSubscriptions(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransactiongetTransactionDetails(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransactionsgetTransactions(Integer page, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransfersgetTransfers(Integer page, Integer limit, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseUsersgetUsers(String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseBaseResponseredeemToken(String tokenId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransactionrequestMoney(CoinbaseTransaction transactionRequest, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseBaseResponseresendRequest(String transactionId, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransfersell(String quantity, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseTransactionsendMoney(CoinbaseTransaction transactionRequest, String apiKey, si.mazi.rescu.ParamsDigest signer, si.mazi.rescu.SynchronizedValueFactory<Long> nonce)CoinbaseUserupdateUser(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 Detail
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
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:
IOExceptionCoinbaseException
-
-