Interface CoinmateAuthenticated

  • All Superinterfaces:
    Coinmate

    @Path("api")
    @Consumes("application/x-www-form-urlencoded")
    @Produces("application/json")
    public interface CoinmateAuthenticated
    extends Coinmate
    Author:
    Martin Stachon
    • Method Detail

      • getBalances

        @POST
        @Path("balances")
        CoinmateBalance getBalances​(@FormParam("publicKey")
                                    String publicKey,
                                    @FormParam("clientId")
                                    String clientId,
                                    @FormParam("signature")
                                    si.mazi.rescu.ParamsDigest signer,
                                    @FormParam("nonce")
                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                             throws IOException
        Throws:
        IOException
      • getTransactionHistory

        @POST
        @Path("transactionHistory")
        CoinmateTransactionHistory getTransactionHistory​(@FormParam("publicKey")
                                                         String publicKey,
                                                         @FormParam("clientId")
                                                         String clientId,
                                                         @FormParam("signature")
                                                         si.mazi.rescu.ParamsDigest signer,
                                                         @FormParam("nonce")
                                                         si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                         @FormParam("offset")
                                                         int offset,
                                                         @FormParam("limit")
                                                         Integer limit,
                                                         @FormParam("sort")
                                                         String sort)
                                                  throws IOException
        Throws:
        IOException
      • getOpenOrders

        @POST
        @Path("openOrders")
        CoinmateOpenOrders getOpenOrders​(@FormParam("publicKey")
                                         String publicKey,
                                         @FormParam("clientId")
                                         String clientId,
                                         @FormParam("signature")
                                         si.mazi.rescu.ParamsDigest signer,
                                         @FormParam("nonce")
                                         si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                         @FormParam("currencyPair")
                                         String currencyPair)
                                  throws IOException
        Throws:
        IOException
      • cancelOder

        @POST
        @Path("cancelOrder")
        CoinmateCancelOrderResponse cancelOder​(@FormParam("publicKey")
                                               String publicKey,
                                               @FormParam("clientId")
                                               String clientId,
                                               @FormParam("signature")
                                               si.mazi.rescu.ParamsDigest signer,
                                               @FormParam("nonce")
                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                               @FormParam("orderId")
                                               String orderId)
                                        throws IOException
        Throws:
        IOException
      • cancelOderWithInfo

        @POST
        @Path("cancelOrderWithInfo")
        CoinmateCancelOrderWithInfoResponse cancelOderWithInfo​(@FormParam("publicKey")
                                                               String publicKey,
                                                               @FormParam("clientId")
                                                               String clientId,
                                                               @FormParam("signature")
                                                               si.mazi.rescu.ParamsDigest signer,
                                                               @FormParam("nonce")
                                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                               @FormParam("orderId")
                                                               String orderId)
                                                        throws IOException
        Throws:
        IOException
      • buyLimit

        @POST
        @Path("buyLimit")
        CoinmateTradeResponse buyLimit​(@FormParam("publicKey")
                                       String publicKey,
                                       @FormParam("clientId")
                                       String clientId,
                                       @FormParam("signature")
                                       si.mazi.rescu.ParamsDigest signer,
                                       @FormParam("nonce")
                                       si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                       @FormParam("amount")
                                       BigDecimal amount,
                                       @FormParam("price")
                                       BigDecimal price,
                                       @FormParam("currencyPair")
                                       String currencyPair,
                                       @FormParam("stopPrice")
                                       BigDecimal stopPrice,
                                       @FormParam("hidden")
                                       Integer hidden,
                                       @FormParam("immediateOrCancel")
                                       Integer immediateOrCancel,
                                       @FormParam("trailing")
                                       Integer trailing)
                                throws IOException
        Throws:
        IOException
      • sellLimit

        @POST
        @Path("sellLimit")
        CoinmateTradeResponse sellLimit​(@FormParam("publicKey")
                                        String publicKey,
                                        @FormParam("clientId")
                                        String clientId,
                                        @FormParam("signature")
                                        si.mazi.rescu.ParamsDigest signer,
                                        @FormParam("nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @FormParam("amount")
                                        BigDecimal amount,
                                        @FormParam("price")
                                        BigDecimal price,
                                        @FormParam("currencyPair")
                                        String currencyPair,
                                        @FormParam("stopPrice")
                                        BigDecimal stopPrice,
                                        @FormParam("hidden")
                                        Integer hidden,
                                        @FormParam("immediateOrCancel")
                                        Integer immediateOrCancel,
                                        @FormParam("trailing")
                                        Integer trailing)
                                 throws IOException
        Throws:
        IOException
      • buyInstant

        @POST
        @Path("buyInstant")
        CoinmateTradeResponse buyInstant​(@FormParam("publicKey")
                                         String publicKey,
                                         @FormParam("clientId")
                                         String clientId,
                                         @FormParam("signature")
                                         si.mazi.rescu.ParamsDigest signer,
                                         @FormParam("nonce")
                                         si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                         @FormParam("total")
                                         BigDecimal total,
                                         @FormParam("currencyPair")
                                         String currencyPair)
                                  throws IOException
        Throws:
        IOException
      • sellInstant

        @POST
        @Path("sellInstant")
        CoinmateTradeResponse sellInstant​(@FormParam("publicKey")
                                          String publicKey,
                                          @FormParam("clientId")
                                          String clientId,
                                          @FormParam("signature")
                                          si.mazi.rescu.ParamsDigest signer,
                                          @FormParam("nonce")
                                          si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                          @FormParam("amount")
                                          BigDecimal amount,
                                          @FormParam("currencyPair")
                                          String currencyPair)
                                   throws IOException
        Throws:
        IOException
      • bitcoinWithdrawal

        @POST
        @Path("bitcoinWithdrawal")
        CoinmateTradeResponse bitcoinWithdrawal​(@FormParam("publicKey")
                                                String publicKey,
                                                @FormParam("clientId")
                                                String clientId,
                                                @FormParam("signature")
                                                si.mazi.rescu.ParamsDigest signer,
                                                @FormParam("nonce")
                                                si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                @FormParam("amount")
                                                BigDecimal amount,
                                                @FormParam("address")
                                                String address)
                                         throws IOException
        Throws:
        IOException
      • bitcoinDepositAddresses

        @POST
        @Path("bitcoinDepositAddresses")
        CoinmateDepositAddresses bitcoinDepositAddresses​(@FormParam("publicKey")
                                                         String publicKey,
                                                         @FormParam("clientId")
                                                         String clientId,
                                                         @FormParam("signature")
                                                         si.mazi.rescu.ParamsDigest signer,
                                                         @FormParam("nonce")
                                                         si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                                  throws IOException
        Throws:
        IOException
      • litecoinWithdrawal

        @POST
        @Path("litecoinWithdrawal")
        CoinmateTradeResponse litecoinWithdrawal​(@FormParam("publicKey")
                                                 String publicKey,
                                                 @FormParam("clientId")
                                                 String clientId,
                                                 @FormParam("signature")
                                                 si.mazi.rescu.ParamsDigest signer,
                                                 @FormParam("nonce")
                                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                 @FormParam("amount")
                                                 BigDecimal amount,
                                                 @FormParam("address")
                                                 String address)
                                          throws IOException
        Throws:
        IOException
      • litecoinDepositAddresses

        @POST
        @Path("litecoinDepositAddresses")
        CoinmateDepositAddresses litecoinDepositAddresses​(@FormParam("publicKey")
                                                          String publicKey,
                                                          @FormParam("clientId")
                                                          String clientId,
                                                          @FormParam("signature")
                                                          si.mazi.rescu.ParamsDigest signer,
                                                          @FormParam("nonce")
                                                          si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                                   throws IOException
        Throws:
        IOException
      • bitcoinCashWithdrawal

        @POST
        @Path("bitcoinCashWithdrawal")
        CoinmateTradeResponse bitcoinCashWithdrawal​(@FormParam("publicKey")
                                                    String publicKey,
                                                    @FormParam("clientId")
                                                    String clientId,
                                                    @FormParam("signature")
                                                    si.mazi.rescu.ParamsDigest signer,
                                                    @FormParam("nonce")
                                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                    @FormParam("amount")
                                                    BigDecimal amount,
                                                    @FormParam("address")
                                                    String address)
                                             throws IOException
        Throws:
        IOException
      • bitcoinCashDepositAddresses

        @POST
        @Path("bitcoinCashDepositAddresses")
        CoinmateDepositAddresses bitcoinCashDepositAddresses​(@FormParam("publicKey")
                                                             String publicKey,
                                                             @FormParam("clientId")
                                                             String clientId,
                                                             @FormParam("signature")
                                                             si.mazi.rescu.ParamsDigest signer,
                                                             @FormParam("nonce")
                                                             si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                                      throws IOException
        Throws:
        IOException
      • ethereumWithdrawal

        @POST
        @Path("ethereumWithdrawal")
        CoinmateTradeResponse ethereumWithdrawal​(@FormParam("publicKey")
                                                 String publicKey,
                                                 @FormParam("clientId")
                                                 String clientId,
                                                 @FormParam("signature")
                                                 si.mazi.rescu.ParamsDigest signer,
                                                 @FormParam("nonce")
                                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                 @FormParam("amount")
                                                 BigDecimal amount,
                                                 @FormParam("address")
                                                 String address)
                                          throws IOException
        Throws:
        IOException
      • ethereumDepositAddresses

        @POST
        @Path("ethereumDepositAddresses")
        CoinmateDepositAddresses ethereumDepositAddresses​(@FormParam("publicKey")
                                                          String publicKey,
                                                          @FormParam("clientId")
                                                          String clientId,
                                                          @FormParam("signature")
                                                          si.mazi.rescu.ParamsDigest signer,
                                                          @FormParam("nonce")
                                                          si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                                   throws IOException
        Throws:
        IOException
      • rippleWithdrawal

        @POST
        @Path("rippleWithdrawal")
        CoinmateTradeResponse rippleWithdrawal​(@FormParam("publicKey")
                                               String publicKey,
                                               @FormParam("clientId")
                                               String clientId,
                                               @FormParam("signature")
                                               si.mazi.rescu.ParamsDigest signer,
                                               @FormParam("nonce")
                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                               @FormParam("amount")
                                               BigDecimal amount,
                                               @FormParam("address")
                                               String address)
                                        throws IOException
        Throws:
        IOException
      • rippleDepositAddresses

        @POST
        @Path("rippleDepositAddresses")
        CoinmateDepositAddresses rippleDepositAddresses​(@FormParam("publicKey")
                                                        String publicKey,
                                                        @FormParam("clientId")
                                                        String clientId,
                                                        @FormParam("signature")
                                                        si.mazi.rescu.ParamsDigest signer,
                                                        @FormParam("nonce")
                                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                                 throws IOException
        Throws:
        IOException
      • dashWithdrawal

        @POST
        @Path("dashWithdrawal")
        CoinmateTradeResponse dashWithdrawal​(@FormParam("publicKey")
                                             String publicKey,
                                             @FormParam("clientId")
                                             String clientId,
                                             @FormParam("signature")
                                             si.mazi.rescu.ParamsDigest signer,
                                             @FormParam("nonce")
                                             si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                             @FormParam("amount")
                                             BigDecimal amount,
                                             @FormParam("address")
                                             String address)
                                      throws IOException
        Throws:
        IOException
      • dashDepositAddresses

        @POST
        @Path("dashDepositAddresses")
        CoinmateDepositAddresses dashDepositAddresses​(@FormParam("publicKey")
                                                      String publicKey,
                                                      @FormParam("clientId")
                                                      String clientId,
                                                      @FormParam("signature")
                                                      si.mazi.rescu.ParamsDigest signer,
                                                      @FormParam("nonce")
                                                      si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                               throws IOException
        Throws:
        IOException
      • getOrderHistory

        @POST
        @Path("orderHistory")
        CoinmateOrderHistory getOrderHistory​(@FormParam("publicKey")
                                             String publicKey,
                                             @FormParam("clientId")
                                             String clientId,
                                             @FormParam("signature")
                                             si.mazi.rescu.ParamsDigest signer,
                                             @FormParam("nonce")
                                             si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                             @FormParam("currencyPair")
                                             String currencyPair,
                                             @FormParam("limit")
                                             int limit)
                                      throws IOException
        Throws:
        IOException
      • getTradeHistory

        @POST
        @Path("tradeHistory")
        CoinmateTradeHistory getTradeHistory​(@FormParam("publicKey")
                                             String publicKey,
                                             @FormParam("clientId")
                                             String clientId,
                                             @FormParam("signature")
                                             si.mazi.rescu.ParamsDigest signer,
                                             @FormParam("nonce")
                                             si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                             @FormParam("limit")
                                             Integer limit,
                                             @FormParam("lastId")
                                             Integer lastId,
                                             @FormParam("sort")
                                             String sort,
                                             @FormParam("timestampFrom")
                                             Long timestampFrom,
                                             @FormParam("timestampTo")
                                             Long timestampTo,
                                             @FormParam("currencyPair")
                                             String currencyPair,
                                             @FormParam("orderId")
                                             String orderId)
                                      throws IOException
        Throws:
        IOException
      • getTransferHistory

        @POST
        @Path("transferHistory")
        CoinmateTransferHistory getTransferHistory​(@FormParam("publicKey")
                                                   String publicKey,
                                                   @FormParam("clientId")
                                                   String clientId,
                                                   @FormParam("signature")
                                                   si.mazi.rescu.ParamsDigest signer,
                                                   @FormParam("nonce")
                                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                   @FormParam("limit")
                                                   Integer limit,
                                                   @FormParam("lastId")
                                                   Integer lastId,
                                                   @FormParam("sort")
                                                   String sort,
                                                   @FormParam("timestampFrom")
                                                   Long timestampFrom,
                                                   @FormParam("timestampTo")
                                                   Long timestampTo,
                                                   @FormParam("currency")
                                                   String currency)
                                            throws IOException
        Throws:
        IOException
      • replaceByBuyLimit

        @POST
        @Path("replaceByBuyLimit")
        CoinmateReplaceResponse replaceByBuyLimit​(@FormParam("publicKey")
                                                  String publicKey,
                                                  @FormParam("clientId")
                                                  String clientId,
                                                  @FormParam("signature")
                                                  si.mazi.rescu.ParamsDigest signer,
                                                  @FormParam("nonce")
                                                  si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                  @FormParam("amount")
                                                  BigDecimal amount,
                                                  @FormParam("price")
                                                  BigDecimal price,
                                                  @FormParam("currencyPair")
                                                  String currencyPair,
                                                  @FormParam("orderIdToBeReplaced")
                                                  String orderIdToBeReplaced,
                                                  @FormParam("stopPrice")
                                                  BigDecimal stopPrice,
                                                  @FormParam("hidden")
                                                  Integer hidden,
                                                  @FormParam("immediateOrCancel")
                                                  Integer immediateOrCancel,
                                                  @FormParam("trailing")
                                                  Integer trailing)
                                           throws IOException
        Throws:
        IOException
      • replaceBySellLimit

        @POST
        @Path("replaceBySellLimit")
        CoinmateReplaceResponse replaceBySellLimit​(@FormParam("publicKey")
                                                   String publicKey,
                                                   @FormParam("clientId")
                                                   String clientId,
                                                   @FormParam("signature")
                                                   si.mazi.rescu.ParamsDigest signer,
                                                   @FormParam("nonce")
                                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                   @FormParam("amount")
                                                   BigDecimal amount,
                                                   @FormParam("price")
                                                   BigDecimal price,
                                                   @FormParam("currencyPair")
                                                   String currencyPair,
                                                   @FormParam("orderIdToBeReplaced")
                                                   String orderIdToBeReplaced,
                                                   @FormParam("stopPrice")
                                                   BigDecimal stopPrice,
                                                   @FormParam("hidden")
                                                   Integer hidden,
                                                   @FormParam("immediateOrCancel")
                                                   Integer immediateOrCancel,
                                                   @FormParam("trailing")
                                                   Integer trailing)
                                            throws IOException
        Throws:
        IOException
      • replaceByBuyInstant

        @POST
        @Path("replaceByBuyInstant")
        CoinmateReplaceResponse replaceByBuyInstant​(@FormParam("publicKey")
                                                    String publicKey,
                                                    @FormParam("clientId")
                                                    String clientId,
                                                    @FormParam("signature")
                                                    si.mazi.rescu.ParamsDigest signer,
                                                    @FormParam("nonce")
                                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                    @FormParam("total")
                                                    BigDecimal total,
                                                    @FormParam("currencyPair")
                                                    String currencyPair,
                                                    @FormParam("orderIdToBeReplaced")
                                                    String orderIdToBeReplaced)
                                             throws IOException
        Throws:
        IOException
      • replaceBySellInstant

        @POST
        @Path("replaceBySellInstant")
        CoinmateReplaceResponse replaceBySellInstant​(@FormParam("publicKey")
                                                     String publicKey,
                                                     @FormParam("clientId")
                                                     String clientId,
                                                     @FormParam("signature")
                                                     si.mazi.rescu.ParamsDigest signer,
                                                     @FormParam("nonce")
                                                     si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                     @FormParam("amount")
                                                     BigDecimal amount,
                                                     @FormParam("currencyPair")
                                                     String currencyPair,
                                                     @FormParam("orderIdToBeReplaced")
                                                     String orderIdToBeReplaced)
                                              throws IOException
        Throws:
        IOException