UNPKG

kucoin-universal-sdk

Version:
62 lines (61 loc) 1.62 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class AddDepositAddressV1Resp implements Response<RestResponse> { /** * Deposit address */ address: string; /** * Address remark. If there’s no remark, it is empty. When you withdraw from other platforms to KuCoin, you need to fill in memo(tag). Be careful: If you do not fill in memo(tag), your deposit may not be available. */ memo: string; /** * The chainName of currency */ chain: string; /** * The chainId of currency */ chainId: string; /** * Deposit account type: main (funding account), trade (spot trading account) */ to: AddDepositAddressV1Resp.ToEnum; /** * currency */ currency: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * common response */ commonResponse?: RestResponse; setCommonResponse(response: RestResponse): void; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): AddDepositAddressV1Resp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): AddDepositAddressV1Resp; } export declare namespace AddDepositAddressV1Resp { enum ToEnum { /** * */ MAIN, /** * */ TRADE } }