OptionalbuilderCode?: PerpetualsBuilderCodeParamatersOptional integrator fee configuration.
OptionalclientOrderIdsToCancel?: PerpetualsClientOrderId[]Optional client-managed order ids to cancel (in addition to
orderIdsToCancel).
OptionalexpiryTimestamp?: bigintOptional expiration timestamp in milliseconds since epoch.
Whether the account already has a position in this market.
Optionalleverage?: numberOptional leverage override.
Market ID associated with the request.
Order IDs to cancel.
New orders to place after the cancellation.
Order type (e.g. GTC, IOC).
If true, placed orders can only reduce an existing position.
OptionalshouldAbortOnMissingId?: booleanIf true, abort the transaction when any ID in orderIdsToCancel is not
found on-chain. If false (default), missing IDs are tolerated.
OptionalshouldDeallocateFreeCollateral?: booleanIf true, also deallocate free collateral (margin not backing a position) back to the wallet in the same transaction. Defaults to false.
OptionaltxKind?: SerializedTransactionOptionally pre-built transaction payload.
Wallet address used to identify the signer or owner.
OptionalaccountCapId?: ObjectIdOptional account capability object ID used to authorize the account operation.
Account ID associated with the request.
Vault object ID used instead of an account.
API request body for atomically canceling existing orders and placing new ones in a single transaction.