@somnia-chain/markets-sdk / index / ReduceOrdersParams
Interface: ReduceOrdersParams
Defined in: packages/sdk/src/trade.ts:676
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:678
SpotPool (or BinaryPool) address hosting the resting orders.
reductions
reductions:
ReduceOrderRequest[]
Defined in: packages/sdk/src/trade.ts:680
The reductions to apply. Any invalid entry reverts the whole batch.
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:686
Gas ceiling for this tx.
Default
TraderConfig.gas (10,000,000)