kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
58 lines (57 loc) • 1.24 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class GetTickerResp implements Response<RestResponse> {
/**
* timestamp
*/
time: number;
/**
* Sequence
*/
sequence: string;
/**
* Last traded price
*/
price: string;
/**
* Last traded size
*/
size: string;
/**
* Best bid price
*/
bestBid: string;
/**
* Best bid size
*/
bestBidSize: string;
/**
* Best ask price
*/
bestAsk: string;
/**
* Best ask size
*/
bestAskSize: 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): GetTickerResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetTickerResp;
}