@somnia-chain/markets-sdk / index / UnsignedPerpStopOrder
Interface: UnsignedPerpStopOrder
Defined in: packages/sdk/src/perp/stops.ts:659
A perp stop placement expanded into the unsigned calls it actually takes.
Two or one, and the difference matters more here than for a token approval: the registry places on the owner's behalf, so without the operator grant the trigger reverts and the prepaid SOMI is consumed having placed nothing. Batch both.
Properties
stopOrder
stopOrder:
UnsignedCall
Defined in: packages/sdk/src/perp/stops.ts:661
The registry call that creates the stop — or, for a pair, both legs at once.
operatorApproval?
optionaloperatorApproval?:UnsignedCall
Defined in: packages/sdk/src/perp/stops.ts:666
The one-time operator grant the trigger needs first; absent only when
skipOperatorApproval: true was passed.