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

    Latest unresolved TWAP action error on a TWAP order response.

    Surfaced by the perpetuals HTTP API. JSON null is converted to undefined by the SDK decode path (Caller / Helpers.parseJsonWithBigint), so clients only see omit/undefined when no error is present.

    interface PerpetualsTwapOrderLastError {
        action: PerpetualsTwapOrderAction;
        code: string;
        message: string;
        occurredAtMs: number;
        protocolCode?: number;
        protocolModule?: string;
        retryable: boolean;
    }
    Index

    Failed action that produced this error.

    code: string

    Stable product-facing error code for localization.

    message: string

    Controlled user-facing fallback message from the perpetuals HTTP API.

    occurredAtMs: number

    Milliseconds since the Unix epoch when the error occurred.

    protocolCode?: number

    Move abort code, when this is a protocol error.

    protocolModule?: string

    Move module that emitted the abort, when this is a protocol error.

    retryable: boolean

    Whether the failure is considered retryable. Does not imply a retry is currently running or change orderState.