@somnia-chain/markets-sdk / index / BurnSetParams
Interface: BurnSetParams
Defined in: packages/sdk/src/trade.ts:894
Inputs to Trader.burnSet — surrender equal YES + NO, get collateral back.
Properties
pool
pool:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:896
BinaryPool address — pool burns the caller's YES + NO and refunds collateral.
amount
amount:
bigint
Defined in: packages/sdk/src/trade.ts:898
Outcome amount to burn (same for YES + NO).
outcomeToken?
optionaloutcomeToken?:`0x${string}`
Defined in: packages/sdk/src/trade.ts:903
Outcome-token singleton; resolved from the pool if omitted. Both YES + NO are covered by a single operator approval on it.
autoApprove?
optionalautoApprove?:boolean
Defined in: packages/sdk/src/trade.ts:905
Ensure the pool is an operator on the outcome-token singleton (default true).
gas?
optionalgas?:bigint
Defined in: packages/sdk/src/trade.ts:907
Gas ceiling for this tx.
Default Value
TraderConfig.gas (10,000,000)