@somnia-chain/markets-sdk / index / CancelAllOrdersEmpty
Interface: CancelAllOrdersEmpty
Defined in: packages/sdk/src/trade.ts:737
Result of Trader.cancelAllOrders when nothing was resting.
A kill switch that finds an empty book has SUCCEEDED, so this is not an error.
No transaction was sent, so there is no hash and no receipt — which is why the
result is a union rather than a CancelOrdersResult with optional fields.
Branch on sent.
Properties
sent
sent:
false
Defined in: packages/sdk/src/trade.ts:739
Always false here: no transaction was broadcast.
orderIds
orderIds: []
Defined in: packages/sdk/src/trade.ts:741
Always empty: nothing was resting.
outcomes
outcomes: []
Defined in: packages/sdk/src/trade.ts:743
Always empty: nothing was cancelled.