{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: CancelOrderParams

Defined in: trade.ts:208

Inputs to Trader.cancelOrder — cancel one resting order, returning its remaining escrow to the owner. Works on spot AND binary pools.

Properties

pool

pool: `0x${string}`

Defined in: trade.ts:210

BinaryPool (or SpotPool) address hosting the resting order.


orderId

orderId: string | bigint

Defined in: trade.ts:212

uint128 OrderId (decimal string or bigint).


gas?

optional gas?: bigint

Defined in: trade.ts:214

Gas ceiling for this tx.

Default Value

TraderConfig.gas (10,000,000)