UNPKG

@crypdex/hydro-sdk

Version:

Javascript SDK for the Hydro API

23 lines (22 loc) 493 B
/** * Description of a websocket channel you are listening for updates on. */ export declare class Channel { /** * The name of a subscription channel */ readonly name: ChannelName; /** * Which market IDs are included in this subscription */ readonly marketIds: string[]; constructor(json: any); } /** * See https://docs.ddex.io/#websocket */ export declare enum ChannelName { TICKER = "ticker", ORDERBOOK = "orderbook", FULL = "full", }