UNPKG

kucoin-universal-sdk

Version:
66 lines (65 loc) 1.71 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class GetDepositAddressV1Resp 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?: GetDepositAddressV1Resp.ToEnum; /** * currency */ currency?: string; /** * The token contract address. */ contractAddress?: 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): GetDepositAddressV1Resp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetDepositAddressV1Resp; } export declare namespace GetDepositAddressV1Resp { enum ToEnum { /** * */ MAIN, /** * */ TRADE } }