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

    Event emitted when an account is liquidated in a given market.

    interface LiquidatedEvent {
        accountId: bigint;
        baseLiquidated: number;
        collateralDeltaUsd: number;
        insuranceFundFeesUsd: number;
        liqeePnlUsd: number;
        liqorAccountId: bigint;
        liquidationFeesUsd: number;
        marketId: string;
        quoteLiquidated: number;
        side: PerpetualsOrderSide;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    Index
    accountId: bigint

    Perpetuals account that was liquidated.

    baseLiquidated: number

    Amount of base asset liquidated.

    collateralDeltaUsd: number

    Net collateral change from the liquidation, in USD.

    insuranceFundFeesUsd: number

    Fees directed to the insurance fund in USD.

    liqeePnlUsd: number

    Liquidated account's PnL in USD for this event.

    liqorAccountId: bigint

    Liquidator's account ID.

    liquidationFeesUsd: number

    Liquidation fee paid in USD.

    marketId: string

    Market in which the position was liquidated.

    quoteLiquidated: number

    Amount of quote asset liquidated.

    Side of the liquidated position.

    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.