{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: BurnSetParams

Defined in: trade.ts:360

Properties

pool

pool: `0x${string}`

Defined in: trade.ts:362

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


amount

amount: bigint

Defined in: trade.ts:364

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


outcomeToken?

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

Defined in: trade.ts:367

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:369

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


gas?

optional gas?: bigint

Defined in: trade.ts:370