Interface IDEXSubscribePublicBase

Base Type

This is generally not meant to be used directly by SDK users, they are used to augment interfaces with common parameters & documentation.

A Base type that all public WebSocket subscriptions extend upon.

interface IDEXSubscribePublicBase {
    name: SubscriptionNamePublic;
    markets?: string[];
    interval?: CandleInterval;
}

Hierarchy (view full)

Properties

Subscription to subscribe to.

markets?: string[]

Array of Market Symbols

  • Overrides the markets array at the top-level subscription object, if provided.
  • Required if the top-level subscription does not define markets and the request is a public subscription
interval?: CandleInterval

Candle Interval to subscribe to

  • Only applicable for candles subscription