@somnia-chain/markets-sdk / index / ReduceOrderRequest
Interface: ReduceOrderRequest
Defined in: packages/sdk/src/trade.ts:476
One reduction inside a Trader.reduceOrders batch.
Properties
orderId
orderId:
string|bigint
Defined in: packages/sdk/src/trade.ts:478
uint128 OrderId of the resting order to shrink (decimal string or bigint).
newQuantityRemaining
newQuantityRemaining:
bigint
Defined in: packages/sdk/src/trade.ts:483
The order's NEW remaining quantity. Must be a lotSize multiple,
>= minQuantity, and strictly less than the current remaining.