Collateral coin type backing the order.
Order details.
OptionalinvalidReason the order is invalid, when orderState === "invalid".
OptionallastLatest unresolved action error from the perpetuals HTTP API. JSON null
on the wire becomes undefined after SDK decode, so omit/undefined means
no current error.
Timestamp (ms since epoch) of the most recent chunk execution.
OptionalnextMilliseconds since the Unix epoch of the next execution retry while the backend waits between retries. Omitted when no retry is scheduled.
OptionalorderOrder creation time (ms since epoch). Prefer this over
lastExecutionTimestampMs for newest-first sorting.
Current lifecycle state of the TWAP order.
OptionalpriceNormalized trigger/stop conditions from the TWAP order response. Omitted for unconditional / legacy TWAPs.
Base-asset amount already executed (scaled base units).
Optionalretry1-based number of the retry being waited for. Omitted when no retry is scheduled.
OptionalretryRetries the backend sends before it cancels the order. Omitted when no retry is scheduled.
Base-asset amount currently reserved for execution (scaled base units).
OptionalstatusFree-form status message about the order, if any.
ID of the TWAP order object on-chain.
A TWAP order as surfaced to clients by the read endpoint.