OptionalbuilderCode?: PerpetualsBuilderCodeParamatersOptional integrator fee configuration for this order.
If provided, the integrator specified in the configuration will receive a fee on the taker volume generated by this order. The integrator must have been previously approved by the account owner, and the fee must not exceed the maximum fee the user approved for that integrator.
True is position is closed.
Change in collateral allocated to this position (collateral units).
Whether the account already has a position in this market.
Optionalleverage?: numberOptional leverage override.
Market ID associated with the request.
If true, order can only reduce an existing position.
Order side: 0 for bid or long, 1 for ask or short.
Order size in scaled base units.
Allowable max slippage for trade execution.
OptionalslTp?: {Optional SL/TP instructions to be placed along with the market order.
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.
Optionalsponsor?: PerpetualsSponsorConfigOptional transaction sponsorship configuration.
OptionaltxKind?: SerializedTransactionOptional serialized transaction kind if assembled by the API.
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 placing a market order in a given market.
This form is used by the backend and includes contextual information like
accountIdorvaultId.