UNPKG

kucoin-universal-sdk

Version:
106 lines (105 loc) 2.02 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class GetWithdrawDetailResp implements Response<RestResponse> { /** * Withdrawal ID */ id: string; /** * Chain ID of currency */ chain: string; /** * Wallet Transaction ID */ walletTxId: string; /** * UID */ uid: number; /** * Update Time (milliseconds) */ updatedAt: number; /** * Amount */ amount: string; /** * Memo */ memo: string; /** * Fee */ fee: string; /** * Address */ address: string; /** * Remark */ remark: string; /** * Is Internal (true or false) */ isInner: boolean; /** * Currency */ currency: string; /** * Status (PROCESSING, WALLET_PROCESSING, REVIEW, SUCCESS, FAILURE) */ status: GetWithdrawDetailResp.StatusEnum; /** * Creation Time (milliseconds) */ createdAt: number; /** * 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): GetWithdrawDetailResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetWithdrawDetailResp; } export declare namespace GetWithdrawDetailResp { enum StatusEnum { /** * */ PROCESSING, /** * */ WALLET_PROCESSING, /** * */ REVIEW, /** * */ SUCCESS, /** * */ FAILURE } }