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