@somnia-chain/markets-sdk / index / LinkPerpStopOrdersParams
Interface: LinkPerpStopOrdersParams
Defined in: packages/sdk/src/trade.ts:1007
Inputs to Trader.linkPerpStopOrders — pair two stops that already exist.
The after-the-fact form of PlacePerpStopOrderParams.pair, and the way to re-pair a survivor: when one leg of a pair fires WITHOUT filling, the other stays armed and is unlinked, free to be paired with a fresh leg.
Properties
registry
registry:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:1009
The PerpStopOrderRegistry holding both orders.
orderIdA
orderIdA:
string|bigint
Defined in: packages/sdk/src/trade.ts:1011
First order id (either operator; the pair is ordered by the registry).
orderIdB
orderIdB:
string|bigint
Defined in: packages/sdk/src/trade.ts:1013
Second order id.
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:1015
Gas ceiling for this tx.
Default Value
TraderConfig.gas (10,000,000)