org.knowm.xchange.kucoin.dto.request.ApplyWithdrawApiRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-kucoin Show documentation
Show all versions of xchange-kucoin Show documentation
XChange implementation for the Kucoin Exchange
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;
}