@exchange-connect/coinex
Version:
Coinex ( https://www.coinex.com ) SDK
114 lines (113 loc) • 2.31 kB
TypeScript
export declare const WEBSOCKET_CONNECTION_STATES: {
OPEN: string;
MESSAGE: string;
};
/**
* WebSocket Futures Response Code Map.
* @enum {Object} WEBSOCKET_FUTURES_RESPONSE_CODES
* @memberof HTTPConstants
*/
export declare const WEBSOCKET_FUTURES_RESPONSE_CODES: {
/** Contract Invalid Argument */
1001: {
message: string;
description: string;
};
/** Service Unavailable */
1002: {
message: string;
description: string;
};
/** Service Timeout */
1003: {
message: string;
description: string;
};
/** Invalid method */
1004: {
message: string;
description: string;
};
1005: {
message: string;
description: string;
};
1006: {
message: string;
description: string;
};
1007: {
message: string;
description: string;
};
1009: {
message: string;
description: string;
};
1010: {
message: string;
description: string;
};
1011: {
message: string;
description: string;
};
1012: {
message: string;
description: string;
};
1013: {
message: string;
description: string;
};
1014: {
message: string;
description: string;
};
3008: {
message: string;
description: string;
};
};
/**
* WebSocket Spot Response Code Map.
* @enum {Object} WEBSOCKET_SPOT_RESPONSE_CODES
* @memberof HTTPConstants
*/
export declare const WEBSOCKET_SPOT_RESPONSE_CODES: {
/** Contract Invalid Argument */
1: {
message: string;
description: string;
};
/** Internal Error */
2: {
message: string;
description: string;
};
/** Service Unavailable */
3: {
message: string;
description: string;
};
/** Invalid method */
4: {
message: string;
description: string;
};
/** Service Timeout */
5: {
message: string;
description: string;
};
/** Authorization Required */
6: {
message: string;
description: string;
};
/** Visited Too Frequently */
7: {
message: string;
description: string;
};
};