ReadonlycodeError code (present for pre-flight validation errors).
ReadonlymessageError message.
ReadonlyordersCreated/updated orders (if collect_orders was true).
ReadonlyreasonOn-chain revert reason (e.g., "NotEnoughBalance").
ReadonlyreceiptsTransaction receipts from on-chain reverts.
ReadonlytxOn-chain transaction ID, or null if preflight error.
true if the transaction was submitted but reverted on-chain.
true if this is a pre-flight validation error.
true if the transaction succeeded without reverts or errors.
StaticfromParse a raw API response body into a SessionActionsResponse.
Response from a session actions submission.
Includes both success and error fields for accurate success checking. A reverted tx can still have a
txId— check.successto distinguish.Example