aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Event emitted when a new order is posted to the orderbook.

    interface PostedOrderEvent {
        accountId: bigint;
        expiryTimestamp?: bigint;
        marketId: string;
        orderId: bigint;
        reduceOnly: boolean;
        side: PerpetualsOrderSide;
        size: bigint;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    Index
    accountId: bigint

    Perpetuals account that posted the order.

    expiryTimestamp?: bigint

    Optional expiration timestamp in Unix milliseconds.

    marketId: string

    Market containing the posted order.

    orderId: bigint

    Encoded posted order ID.

    reduceOnly: boolean

    Whether the order can only reduce an existing position.

    Side of the posted order.

    size: bigint

    Posted size in the order's raw integer scale.

    timestamp: number | undefined

    Timestamp of the event, if available.

    txnDigest: string

    The transaction digest associated with the event.

    type: string

    A string identifying the Move event type.