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

    Event emitted when premium TWAP is updated for a market.

    interface UpdatedPremiumTwapEvent {
        bookPrice: number;
        indexPrice: number;
        marketId: string;
        premiumTwap: number;
        premiumTwapLastUpdateMs: number;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    • Event
      • UpdatedPremiumTwapEvent
    Index
    bookPrice: number

    Current orderbook price, in quote units.

    indexPrice: number

    Oracle/index price, in quote units.

    marketId: string

    Market whose premium TWAP changed.

    premiumTwap: number

    Premium TWAP as a decimal price difference.

    premiumTwapLastUpdateMs: number

    Premium TWAP update timestamp in Unix milliseconds.

    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.