@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / ReduceOrdersParams

Interface: ReduceOrdersParams

Defined in: packages/sdk/src/trade.ts:490

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:492

SpotPool (or BinaryPool) address hosting the resting orders.


reductions

reductions: ReduceOrderRequest[]

Defined in: packages/sdk/src/trade.ts:494

The reductions to apply. Any invalid entry reverts the whole batch.


gas?

optional gas?: bigint

Defined in: packages/sdk/src/trade.ts:496

Gas ceiling for this tx.

Default Value

TraderConfig.gas (10,000,000)