UNPKG

kucoin-universal-sdk

Version:
62 lines (61 loc) 2.54 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetDepositAddressV1Req 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 `GetDepositAddressV1Req` class. * The builder pattern allows step-by-step construction of a `GetDepositAddressV1Req` object. */ static builder(): GetDepositAddressV1ReqBuilder; /** * Creates a new instance of the `GetDepositAddressV1Req` 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; }): GetDepositAddressV1Req; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetDepositAddressV1Req; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetDepositAddressV1Req; } export declare class GetDepositAddressV1ReqBuilder { readonly obj: GetDepositAddressV1Req; constructor(obj: GetDepositAddressV1Req); /** * currency */ setCurrency(value: string): GetDepositAddressV1ReqBuilder; /** * 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): GetDepositAddressV1ReqBuilder; /** * Get the final object. */ build(): GetDepositAddressV1Req; }