@somnia-chain/markets-sdk


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

Interface: VoidMarketParams

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

Inputs to Trader.voidMarket — void a market via the FakeOracle (demo/dev resolver only). Each side then redeems against the payout vector the market stores: a half per side under the UNIFORM void policy, and [p, D−p] at the closing YES price on a CLOB_SNAPSHOT void that captured a two-sided close.

Properties

market

market: `0x${string}`

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

BinaryMarket address to void.


fakeOracle?

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

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

FakeOracle address; defaults to the configured one.


gas?

optional gas?: bigint

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

Gas ceiling for this tx.

Default

TraderConfig.gas (10,000,000)