UNPKG

kucoin-universal-sdk

Version:
62 lines (61 loc) 2.54 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetWithdrawalQuotasReq implements Serializable { /** * currency */ currency?: string; /** * The chainId of currency, e.g. the available values for USDT are OMNI, ERC20, and TRC20; default is ERC20. The available values for BTC are Native, Segwit, TRC20; the parameters are bech32, btc, trx; default is Native. This only applies to multi-chain currencies; no need for single-chain currencies. */ chain?: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetWithdrawalQuotasReq` class. * The builder pattern allows step-by-step construction of a `GetWithdrawalQuotasReq` object. */ static builder(): GetWithdrawalQuotasReqBuilder; /** * Creates a new instance of the `GetWithdrawalQuotasReq` class with the given data. */ static create(data: { /** * currency */ currency?: string; /** * The chainId of currency, e.g. the available values for USDT are OMNI, ERC20, and TRC20; default is ERC20. The available values for BTC are Native, Segwit, TRC20; the parameters are bech32, btc, trx; default is Native. This only applies to multi-chain currencies; no need for single-chain currencies. */ chain?: string; }): GetWithdrawalQuotasReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetWithdrawalQuotasReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetWithdrawalQuotasReq; } export declare class GetWithdrawalQuotasReqBuilder { readonly obj: GetWithdrawalQuotasReq; constructor(obj: GetWithdrawalQuotasReq); /** * currency */ setCurrency(value: string): GetWithdrawalQuotasReqBuilder; /** * The chainId of currency, e.g. the available values for USDT are OMNI, ERC20, and TRC20; default is ERC20. The available values for BTC are Native, Segwit, TRC20; the parameters are bech32, btc, trx; default is Native. This only applies to multi-chain currencies; no need for single-chain currencies. */ setChain(value: string): GetWithdrawalQuotasReqBuilder; /** * Get the final object. */ build(): GetWithdrawalQuotasReq; }