aftermath-ts-sdk - v6.7.0
    Preparing search index...

    What a failed TWAP execution asked for, reported on PerpetualsTwapOrderLastError.attempt.

    interface PerpetualsTwapOrderAttempt {
        bestOppositePrice?: number;
        filledAmount?: bigint;
        limitPrice: number;
        markPrice: number;
        requestedAmount: bigint;
    }
    Index
    bestOppositePrice?: number

    Best price on the opposite side of the book. JSON null decodes to undefined when unknown.

    filledAmount?: bigint

    Base-asset amount filled before the failure (scaled base units). JSON null decodes to undefined when the amount is unknown.

    limitPrice: number

    Limit price the slice was sent with: mark price moved by the order's max slippage toward the taker side, rounded to the market tick.

    markPrice: number

    Mark price the backend derived when the slice failed.

    requestedAmount: bigint

    Base-asset amount the slice requested (scaled base units).