@somnia-chain/markets-sdk


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

Interface: CancelAllOrdersSent

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

Result of Trader.cancelAllOrders when orders were resting and a cancel transaction went out. Carries everything CancelOrdersResult does.

Extends

Properties

hash

hash: `0x${string}`

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

The transaction hash.

Inherited from

CancelOrdersResult.hash


receipt

receipt: TransactionReceipt

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

The mined receipt (status, gas used, logs).

Inherited from

CancelOrdersResult.receipt


outcomes

outcomes: BatchCancelOutcome[]

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

Per-id outcomes, index-aligned with the orderIds input.

Inherited from

CancelOrdersResult.outcomes


sent

sent: true

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

Always true here: a cancel transaction was broadcast.


orderIds

orderIds: bigint[]

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

The ids the read found resting, in the order they were sent to the pool.