Type alias OrderEvent

OrderEvent: BaseEvent & {
    asset: EventAsset | null;
    criteria: Record<string, unknown> | null;
    event_type: ORDER | "order";
    expiration_date: number;
    is_private_listing: boolean;
    maker: string;
    order_hash?: string;
    order_type: EventOrderType | string;
    payment: EventPayment;
    protocol_address?: string;
    start_date: number | null;
    taker: string;
}

Order event type.

Type declaration

  • asset: EventAsset | null

    Asset involved in the order, null for collection/trait offers

  • criteria: Record<string, unknown> | null

    Criteria for collection/trait offers

  • event_type: ORDER | "order"
  • expiration_date: number

    Expiration date of the order

  • is_private_listing: boolean

    Whether the listing is private

  • maker: string

    Maker of the order

  • Optional order_hash?: string

    Order hash (optional)

  • order_type: EventOrderType | string

    Type of order

  • payment: EventPayment

    Payment information

  • Optional protocol_address?: string

    Protocol address (optional)

  • start_date: number | null

    Start date of the order

  • taker: string

    Taker of the order