Interface Bl3pAuthenticated

  • All Superinterfaces:
    Bl3p

    @Path("1")
    @Produces("application/json")
    public interface Bl3pAuthenticated
    extends Bl3p
    Defines methods which need authentication

    GENMKT is presumably short for GENERIC MARKET.

    • Method Detail

      • getAccountInfo

        @GET
        @Path("/GENMKT/money/info")
        Bl3pAccountInfo getAccountInfo​(@HeaderParam("Rest-Key")
                                       String restKey,
                                       @HeaderParam("Rest-Sign")
                                       si.mazi.rescu.ParamsDigest restSign,
                                       @FormParam("nonce")
                                       si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                throws IOException
        Get account info and balance
        Parameters:
        restKey -
        restSign -
        nonce -
        Returns:
        Throws:
        IOException
      • createNewDepositAddress

        @GET
        @Path("/GENMKT/money/new_deposit_address")
        Bl3pNewDepositAddress createNewDepositAddress​(@HeaderParam("Rest-Key")
                                                      String restKey,
                                                      @HeaderParam("Rest-Sign")
                                                      si.mazi.rescu.ParamsDigest restSign,
                                                      @FormParam("nonce")
                                                      si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                      @FormParam("currency")
                                                      String currency)
                                               throws IOException
        Create a new deposit address
        Parameters:
        restKey -
        restSign -
        nonce -
        currency - Currency (Can be: 'BTC')
        Returns:
        Throws:
        IOException
      • getOpenOrders

        @GET
        @Path("/{currencyPair}/money/orders")
        Bl3pOpenOrders getOpenOrders​(@HeaderParam("Rest-Key")
                                     String restKey,
                                     @HeaderParam("Rest-Sign")
                                     si.mazi.rescu.ParamsDigest restSign,
                                     @FormParam("nonce")
                                     si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                     @PathParam("currencyPair")
                                     String currencyPair)
        Get all open orders
        Parameters:
        restKey -
        restSign -
        nonce -
        currencyPair -
        Returns:
      • createMarketOrder

        @POST
        @Path("/{currencyPair}/money/order/add")
        Bl3pNewOrder createMarketOrder​(@HeaderParam("Rest-Key")
                                       String restKey,
                                       @HeaderParam("Rest-Sign")
                                       si.mazi.rescu.ParamsDigest restSign,
                                       @FormParam("nonce")
                                       si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                       @PathParam("currencyPair")
                                       String currencyPair,
                                       @FormParam("type")
                                       String type,
                                       @FormParam("amount_int")
                                       long amountInt,
                                       @FormParam("fee_currency")
                                       String feeCurrency)
        Create a market order
        Parameters:
        restKey -
        restSign -
        nonce -
        currencyPair -
        type -
        amountInt -
        feeCurrency -
        Returns:
      • createLimitOrder

        @POST
        @Path("/{currencyPair}/money/order/add")
        Bl3pNewOrder createLimitOrder​(@HeaderParam("Rest-Key")
                                      String restKey,
                                      @HeaderParam("Rest-Sign")
                                      si.mazi.rescu.ParamsDigest restSign,
                                      @FormParam("nonce")
                                      si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                      @PathParam("currencyPair")
                                      String currencyPair,
                                      @FormParam("type")
                                      String type,
                                      @FormParam("amount_int")
                                      long amountInt,
                                      @FormParam("price_int")
                                      long priceInt,
                                      @FormParam("fee_currency")
                                      String feeCurrency)
        Create a limit order
        Parameters:
        restKey -
        restSign -
        nonce -
        currencyPair -
        type -
        amountInt -
        priceInt -
        feeCurrency -
        Returns:
      • cancelOrder

        @POST
        @Path("/{currencyPair}/money/order/cancel")
        Bl3pCancelOrder cancelOrder​(@HeaderParam("Rest-Key")
                                    String restKey,
                                    @HeaderParam("Rest-Sign")
                                    si.mazi.rescu.ParamsDigest restSign,
                                    @FormParam("nonce")
                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                    @PathParam("currencyPair")
                                    String currencyPair,
                                    @FormParam("order_id")
                                    String orderId)
        Cancel given order
        Parameters:
        restKey -
        restSign -
        nonce -
        currencyPair -
        orderId -
        Returns:
      • getOrder

        @GET
        @Path("{currencyPair}/money/order/result")
        Bl3pGetOrder getOrder​(@HeaderParam("Rest-Key")
                              String restKey,
                              @HeaderParam("Rest-Sign")
                              si.mazi.rescu.ParamsDigest restSign,
                              @FormParam("nonce")
                              si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                              @PathParam("currencyPair")
                              String currencyPair,
                              @FormParam("order_id")
                              String orderId)
        Get a specific order
        Parameters:
        restKey -
        restSign -
        nonce -
        currencyPair -
        orderId -
        Returns:
      • getUserTransactions

        @GET
        @Path("GENMKT/money/wallet/history")
        Bl3pUserTransactions getUserTransactions​(@HeaderParam("Rest-Key")
                                                 String restKey,
                                                 @HeaderParam("Rest-Sign")
                                                 si.mazi.rescu.ParamsDigest restSign,
                                                 @FormParam("nonce")
                                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                 @PathParam("currency")
                                                 String currency,
                                                 @FormParam("type")
                                                 String type,
                                                 @FormParam("page")
                                                 int page,
                                                 @FormParam("recs_per_page")
                                                 int recsPerPage)
        Get a list of transactions
        Parameters:
        restKey -
        restSign -
        nonce -
        currency -
        type -
        page -
        recsPerPage -
        Returns:
      • withdrawCoins

        @POST
        @Path("GENMKT/money/withdraw")
        Bl3pWithdrawFunds withdrawCoins​(@HeaderParam("Rest-Key")
                                        String restKey,
                                        @HeaderParam("Rest-Sign")
                                        si.mazi.rescu.ParamsDigest restSign,
                                        @FormParam("nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @FormParam("currency")
                                        String currency,
                                        @FormParam("address")
                                        String address,
                                        @FormParam("extra_fee")
                                        int extraFee,
                                        @FormParam("amount_int")
                                        long amount)
        Withdraw coins
        Parameters:
        restKey -
        restSign -
        nonce -
        currency -
        address -
        extraFee -
        amount -
        Returns:
      • withdrawEuros

        @POST
        @Path("GENMKT/money/withdraw")
        Bl3pWithdrawFunds withdrawEuros​(@HeaderParam("Rest-Key")
                                        String restKey,
                                        @HeaderParam("Rest-Sign")
                                        si.mazi.rescu.ParamsDigest restSign,
                                        @FormParam("nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @FormParam("currency")
                                        String currency,
                                        @FormParam("account_id")
                                        String accountId,
                                        @FormParam("account_name")
                                        String accountName,
                                        @FormParam("amount_int")
                                        long amount)
        Withdraw euros
        Parameters:
        restKey -
        restSign -
        nonce -
        currency -
        accountId -
        accountName -
        amount -
        Returns: