UNPKG

kucoin-universal-sdk

Version:
46 lines (45 loc) 1.2 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class GetMarkPriceResp implements Response<RestResponse> { /** * Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220) */ symbol: string; /** * Granularity (milliseconds) */ granularity: number; /** * Time point (milliseconds) */ timePoint: number; /** * Mark price */ value: number; /** * Index price */ indexPrice: 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): GetMarkPriceResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetMarkPriceResp; }