{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: BurnSetParams

Defined in: trade.ts:498

Inputs to Trader.burnSet — surrender equal YES + NO, get collateral back.

Properties

pool

pool: `0x${string}`

Defined in: trade.ts:500

BinaryPool address — pool burns the caller's YES + NO and refunds collateral.


amount

amount: bigint

Defined in: trade.ts:502

Outcome amount to burn (same for YES + NO).


outcomeToken?

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

Defined in: trade.ts:507

Outcome-token singleton; resolved from the pool if omitted. Both YES + NO are covered by a single operator approval on it.


autoApprove?

optional autoApprove?: boolean

Defined in: trade.ts:509

Ensure the pool is an operator on the outcome-token singleton (default true).


gas?

optional gas?: bigint

Defined in: trade.ts:511

Gas ceiling for this tx.

Default Value

TraderConfig.gas (10,000,000)