Interface BithumbAuthenticated


  • @Path("/")
    @Produces("application/json")
    public interface BithumbAuthenticated
    • Method Detail

      • getAccount

        @POST
        @Path("info/account")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<BithumbAccount> getAccount​(@HeaderParam("Api-Key")
                                                   String apiKey,
                                                   @HeaderParam("Api-Sign")
                                                   si.mazi.rescu.ParamsDigest signature,
                                                   @HeaderParam("Api-Nonce")
                                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                   @HeaderParam("api-client-type")
                                                   String apiClientType,
                                                   @FormParam("endpoint")
                                                   si.mazi.rescu.ParamsDigest endpointGenerator,
                                                   @FormParam("order_currency")
                                                   String order_currency,
                                                   @FormParam("payment_currency")
                                                   String payment_currency)
                                            throws BithumbException,
                                                   IOException
        Throws:
        BithumbException
        IOException
      • getBalance

        @POST
        @Path("info/balance")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<BithumbBalance> getBalance​(@HeaderParam("Api-Key")
                                                   String apiKey,
                                                   @HeaderParam("Api-Sign")
                                                   si.mazi.rescu.ParamsDigest signature,
                                                   @HeaderParam("Api-Nonce")
                                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                   @HeaderParam("api-client-type")
                                                   String apiClientType,
                                                   @FormParam("endpoint")
                                                   si.mazi.rescu.ParamsDigest endpointGenerator,
                                                   @FormParam("currency")
                                                   String currency)
                                            throws BithumbException,
                                                   IOException
        Throws:
        BithumbException
        IOException
      • getWalletAddress

        @POST
        @Path("info/wallet_address")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<BithumbWalletAddress> getWalletAddress​(@HeaderParam("Api-Key")
                                                               String apiKey,
                                                               @HeaderParam("Api-Sign")
                                                               si.mazi.rescu.ParamsDigest signature,
                                                               @HeaderParam("Api-Nonce")
                                                               si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                               @HeaderParam("api-client-type")
                                                               String apiClientType,
                                                               @FormParam("endpoint")
                                                               si.mazi.rescu.ParamsDigest endpointGenerator,
                                                               @FormParam("currency")
                                                               String currency)
                                                        throws BithumbException,
                                                               IOException
        Throws:
        BithumbException
        IOException
      • getTicker

        @POST
        @Path("info/ticker")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<BithumbTicker> getTicker​(@HeaderParam("Api-Key")
                                                 String apiKey,
                                                 @HeaderParam("Api-Sign")
                                                 si.mazi.rescu.ParamsDigest signature,
                                                 @HeaderParam("Api-Nonce")
                                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                 @HeaderParam("api-client-type")
                                                 String apiClientType,
                                                 @FormParam("endpoint")
                                                 si.mazi.rescu.ParamsDigest endpointGenerator,
                                                 @FormParam("order_currency")
                                                 String orderCurrency,
                                                 @FormParam("payment_currency")
                                                 String payment_currency)
                                          throws BithumbException,
                                                 IOException
        Throws:
        BithumbException
        IOException
      • getOrders

        @POST
        @Path("info/orders")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<List<BithumbOrder>> getOrders​(@HeaderParam("Api-Key")
                                                      String apiKey,
                                                      @HeaderParam("Api-Sign")
                                                      si.mazi.rescu.ParamsDigest signature,
                                                      @HeaderParam("Api-Nonce")
                                                      si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                      @HeaderParam("api-client-type")
                                                      String apiClientType,
                                                      @FormParam("endpoint")
                                                      si.mazi.rescu.ParamsDigest endpointGenerator,
                                                      @FormParam("order_id")
                                                      String orderId,
                                                      @FormParam("type")
                                                      String type,
                                                      @FormParam("count")
                                                      Integer count,
                                                      @FormParam("after")
                                                      Integer after,
                                                      @FormParam("order_currency")
                                                      String orderCurrency,
                                                      @FormParam("payment_currency")
                                                      String payment_currency)
                                               throws BithumbException,
                                                      IOException
        Throws:
        BithumbException
        IOException
      • getOrderDetail

        @POST
        @Path("info/order_detail")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<BithumbOrderDetail> getOrderDetail​(@HeaderParam("Api-Key")
                                                           String apiKey,
                                                           @HeaderParam("Api-Sign")
                                                           si.mazi.rescu.ParamsDigest signature,
                                                           @HeaderParam("Api-Nonce")
                                                           si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                           @HeaderParam("api-client-type")
                                                           String apiClientType,
                                                           @FormParam("endpoint")
                                                           si.mazi.rescu.ParamsDigest endpointGenerator,
                                                           @FormParam("order_id")
                                                           String orderId,
                                                           @FormParam("order_currency")
                                                           String orderCurrency,
                                                           @FormParam("payment_currency")
                                                           String payment_currency)
                                                    throws BithumbException,
                                                           IOException
        Throws:
        BithumbException
        IOException
      • getUserTransactions

        @POST
        @Path("info/user_transactions")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse<List<BithumbUserTransaction>> getUserTransactions​(@HeaderParam("Api-Key")
                                                                          String apiKey,
                                                                          @HeaderParam("Api-Sign")
                                                                          si.mazi.rescu.ParamsDigest signature,
                                                                          @HeaderParam("Api-Nonce")
                                                                          si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                                          @HeaderParam("api-client-type")
                                                                          String apiClientType,
                                                                          @FormParam("endpoint")
                                                                          si.mazi.rescu.ParamsDigest endpointGenerator,
                                                                          @FormParam("offset")
                                                                          Integer offset,
                                                                          @FormParam("count")
                                                                          Integer count,
                                                                          @FormParam("searchGb")
                                                                          Integer searchGb,
                                                                          @FormParam("order_currency")
                                                                          String order_currency,
                                                                          @FormParam("payment_currency")
                                                                          String payment_currency)
                                                                   throws BithumbException,
                                                                          IOException
        Throws:
        BithumbException
        IOException
      • placeOrder

        @POST
        @Path("trade/place")
        @Consumes("application/x-www-form-urlencoded")
        BithumbTradeResponse placeOrder​(@HeaderParam("Api-Key")
                                        String apiKey,
                                        @HeaderParam("Api-Sign")
                                        si.mazi.rescu.ParamsDigest signature,
                                        @HeaderParam("Api-Nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @HeaderParam("api-client-type")
                                        String apiClientType,
                                        @FormParam("endpoint")
                                        si.mazi.rescu.ParamsDigest endpointGenerator,
                                        @FormParam("order_currency")
                                        String orderCurrency,
                                        @FormParam("payment_currency")
                                        String paymentCurrency,
                                        @FormParam("units")
                                        BigDecimal units,
                                        @FormParam("price")
                                        BigDecimal price,
                                        @FormParam("type")
                                        String type)
                                 throws BithumbException,
                                        IOException
        Throws:
        BithumbException
        IOException
      • cancelOrder

        @POST
        @Path("trade/cancel")
        @Consumes("application/x-www-form-urlencoded")
        BithumbResponse cancelOrder​(@HeaderParam("Api-Key")
                                    String apiKey,
                                    @HeaderParam("Api-Sign")
                                    si.mazi.rescu.ParamsDigest signature,
                                    @HeaderParam("Api-Nonce")
                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                    @HeaderParam("api-client-type")
                                    String apiClientType,
                                    @FormParam("endpoint")
                                    si.mazi.rescu.ParamsDigest endpointGenerator,
                                    @FormParam("type")
                                    String type,
                                    @FormParam("order_id")
                                    String orderId,
                                    @FormParam("order_currency")
                                    String order_currency,
                                    @FormParam("payment_currency")
                                    String payment_currency)
                             throws BithumbException,
                                    IOException
        Throws:
        BithumbException
        IOException
      • marketBuy

        @POST
        @Path("trade/market_buy")
        @Consumes("application/x-www-form-urlencoded")
        BithumbTradeResponse marketBuy​(@HeaderParam("Api-Key")
                                       String apiKey,
                                       @HeaderParam("Api-Sign")
                                       si.mazi.rescu.ParamsDigest signature,
                                       @HeaderParam("Api-Nonce")
                                       si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                       @HeaderParam("api-client-type")
                                       String apiClientType,
                                       @FormParam("endpoint")
                                       si.mazi.rescu.ParamsDigest endpointGenerator,
                                       @FormParam("units")
                                       BigDecimal units,
                                       @FormParam("order_currency")
                                       String order_currency,
                                       @FormParam("payment_currency")
                                       String payment_currency)
                                throws BithumbException,
                                       IOException
        Throws:
        BithumbException
        IOException
      • marketSell

        @POST
        @Path("trade/market_sell")
        @Consumes("application/x-www-form-urlencoded")
        BithumbTradeResponse marketSell​(@HeaderParam("Api-Key")
                                        String apiKey,
                                        @HeaderParam("Api-Sign")
                                        si.mazi.rescu.ParamsDigest signature,
                                        @HeaderParam("Api-Nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @HeaderParam("api-client-type")
                                        String apiClientType,
                                        @FormParam("endpoint")
                                        si.mazi.rescu.ParamsDigest endpointGenerator,
                                        @FormParam("units")
                                        BigDecimal units,
                                        @FormParam("order_currency")
                                        String order_currency,
                                        @FormParam("payment_currency")
                                        String payment_currency)
                                 throws BithumbException,
                                        IOException
        Throws:
        BithumbException
        IOException