UNPKG

@hydro-protocol/hydro-client-js

Version:
19 lines (18 loc) 453 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 type ChannelName = 'ticker' | 'orderbook' | 'full';