kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
96 lines (95 loc) • 2.04 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetWithdrawalHistoryItems implements Serializable {
/**
* Unique ID
*/
id?: string;
/**
* Currency
*/
currency?: string;
/**
* The chain id of currency
*/
chain?: string;
/**
* Status. Available value: REVIEW, PROCESSING, WALLET_PROCESSING, SUCCESS and FAILURE
*/
status?: GetWithdrawalHistoryItems.StatusEnum;
/**
* Withwrawal address
*/
address?: string;
/**
* Address remark. If there’s no remark, it is empty.
*/
memo?: string;
/**
* Internal deposit or not
*/
isInner?: boolean;
/**
* Withwrawal amount
*/
amount?: string;
/**
* Fees charged for withwrawal
*/
fee?: string;
/**
* Wallet Txid, If this is an internal withdrawal, it is empty.
*/
walletTxId?: string;
/**
* Database record creation time
*/
createdAt?: number;
/**
* Update time of the database record
*/
updatedAt?: number;
/**
* Remark
*/
remark?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetWithdrawalHistoryItems;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetWithdrawalHistoryItems;
}
export declare namespace GetWithdrawalHistoryItems {
enum StatusEnum {
/**
* REVIEW
*/
REVIEW,
/**
* PROCESSING
*/
PROCESSING,
/**
* WALLET_PROCESSING
*/
WALLET_PROCESSING,
/**
* FAILURE
*/
FAILURE,
/**
* SUCCESS
*/
SUCCESS
}
}