OptionalslTp?: {Optional stop-loss and take-profit configuration.
OptionalbuilderCode?: PerpetualsBuilderCodeParamatersOptional integrator fee configuration applied when the SL/TP fires.
OptionalgasCoinArg?: TransactionObjectArgumentOptional gas coin argument used when extending the transaction.
OptionalisSponsoredTx?: booleanWhether the transaction is sponsored rather than paid directly by the wallet.
Optionalsize?: bigintOrder size in base units.
OptionalstopLossPrice?: numberStop-loss trigger price.
OptionaltakeProfitPrice?: numberTake-profit trigger price.
OptionaltriggerPriceType?: PerpetualsStopOrderTriggerPriceTypeWhich on-chain price the trigger uses: 0 = index (default), 1 = book, 2 = mark.
Optionaltx?: TransactionOptional transaction to extend with the operation.
SDK-level inputs for placing a market order from a client.
This omits server-managed fields like
accountId,hasPosition, and serializedtxKind, and exposes a client-friendlyslTpwrapper.