@somnia-chain/markets-sdk


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

Interface: VoidExpiredParams

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

Permissionless dead-oracle escape hatch: void a market whose settlement window has lapsed without a resolution.

Properties

marketId

marketId: `0x${string}`

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

bytes32 marketId to void; its market contract is resolved from the module.


module?

optional module?: `0x${string}`

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

BinaryMarketsModule address; resolved from config.addresses.binaryModule when omitted.


skipPreflight?

optional skipPreflight?: boolean

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

Skip the pre-send status/window check. The on-chain guards still apply — this only gives up the clearer client-side error (and its three reads).

Default Value

ts
false

gas?

optional gas?: bigint

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

Gas ceiling for this tx.

Default Value

TraderConfig.gas (10,000,000)