@somnia-chain/markets-sdk / index / ReduceOrdersParams
Interface: ReduceOrdersParams
Defined in: packages/sdk/src/trade.ts:675
Inputs to Trader.reduceOrders — shrink several resting orders on ONE pool in a single transaction. Works on spot AND binary pools.
Properties
pool
pool:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:677
SpotPool (or BinaryPool) address hosting the resting orders.
reductions
reductions:
ReduceOrderRequest[]
Defined in: packages/sdk/src/trade.ts:679
The reductions to apply. Any invalid entry reverts the whole batch.
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:685
Gas ceiling for this tx.
Default
TraderConfig.gas (10,000,000)