All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.knowm.xchange.kucoin.dto.request.ApplyWithdrawApiRequest Maven / Gradle / Ivy

The newest version!
package org.knowm.xchange.kucoin.dto.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.math.BigDecimal;
import lombok.Builder;
import lombok.Value;

@Value
@Builder
@JsonInclude(value = Include.NON_EMPTY, content = Include.NON_NULL)
public class ApplyWithdrawApiRequest {

  /** Currency */
  String currency;

  /** Withdrawal address */
  String address;

  /**
   * Withdrawal amount, a positive number which is a multiple of the amount precision (fees
   * excluded)
   */
  BigDecimal amount;

  /**
   * [optional] The note that is left on the withdrawal address. When you withdraw from KuCoin to
   * other platforms, you need to fill in memo(tag). If you don't fill in memo(tag), your withdrawal
   * may not be available.
   */
  String memo;

  /** [optional] Internal withdrawal or not. Default setup: false */
  boolean isInner;

  /** [optional] Remark */
  String remark;

  /**
   * [optional] The chain name of currency, e.g. The available value for USDT are OMNI, ERC20,
   * TRC20, default is OMNI. This only apply for multi-chain currency, and there is no need for
   * single chain currency.
   */
  String chain;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy