Interface DepositAPI


@Path("/api") @Produces("application/json") public interface DepositAPI
  • Method Details

    • getDepositList

      @GET @Path("/v1/deposits") KucoinResponse<Pagination<DepositResponse>> getDepositList(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("currency") String currency, @QueryParam("status") String status, @QueryParam("startAt") Long startAt, @QueryParam("endAt") Long endAt, @QueryParam("currentPage") Integer currentPage, @QueryParam("pageSize") Integer pageSize) throws IOException
      Get Deposit List.
      Parameters:
      currency - string [optional] Currency
      status - string [optional] Status. Available value: ROCESSING, SUCCESS, and FAILURE
      startAt - long [optional] Start time. Unix timestamp calculated in milliseconds will return only items which were created after the start time.
      endAt - long [optional] End time. Unix timestamp calculated in milliseconds will return only items which were created before the end time.
      currentPage - The page to select.
      pageSize - The page size.
      Returns:
      A page of orders.
      Throws:
      IOException
    • createDepositAddress

      @POST @Path("/v1/deposit-addresses") KucoinResponse<DepositAddressResponse> createDepositAddress(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("currency") String currency, @QueryParam("chain") String chain) throws IOException
      Throws:
      IOException
    • getDepositAddress

      @GET @Path("/v1/deposit-addresses") KucoinResponse<DepositAddressResponse> getDepositAddress(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("currency") String currency, @QueryParam("chain") String chain) throws IOException
      Throws:
      IOException
    • getDepositAddresses

      @GET @Path("/v2/deposit-addresses") KucoinResponse<List<DepositAddressResponse>> getDepositAddresses(@HeaderParam("KC-API-KEY") String apiKey, @HeaderParam("KC-API-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("KC-API-TIMESTAMP") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("KC-API-PASSPHRASE") String apiPassphrase, @QueryParam("currency") String currency) throws IOException
      Throws:
      IOException