Interface IDEXOrderEventDataBase

Base Type

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

interface IDEXOrderEventDataBase {
    market: string;
    wallet: string;
    side: OrderSide;
    executionTime: number;
    type?: OrderType;
    fills?: IDEXOrderFillEventData[];
}

Hierarchy (view full)

Properties

market: string

Market symbol as base-quote pair e.g. 'ETH-USD'

wallet: string

Address of the wallet which placed the order

side: OrderSide

Order side, buy or sell

See

enum OrderSide

executionTime: number

Timestamp of the most recent update

type?: OrderType
  • When undefined, indicates the message is a liquidation or deleverage where fills will include a single IDEXOrderFillEventData.type of FillTypeSystem.

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