Interface IDEXTickerEvent

When the tickers subscription provides an update

interface IDEXTickerEvent {
    type: "tickers";
    data: IDEXTicker;
}

Hierarchy (view full)

Properties

Properties

type: "tickers"

The type property is used to determine the shape of the data property of the update event.

  • Subscription update events will match IDEXSubscriptionEventBase with the subscription name as the value for the type property.
  • Otherwise the type will be:
    • subscriptions if you requested a list of all current subscriptions
    • error if your request resulted in a server error

An orders fills will potentially have a different shape dependent on the type property of the fill.