kucoin-api
Version:
Complete & robust Node.js SDK for Kucoin's REST APIs and WebSockets, with TypeScript & strong end to end tests.
14 lines (13 loc) • 333 B
TypeScript
export interface APISuccessResponse<TData> {
code: '200000';
data: TData;
}
export interface APIErrorResponse {
msg: string;
code: string;
}
export type APIResponse<TData> = APISuccessResponse<TData> | APIErrorResponse;
export interface ServiceStatus {
msg: string;
status: 'cancelonly' | 'close' | 'open';
}