@somnia-chain/markets-sdk / index / RedeemOptions
Interface: RedeemOptions
Defined in: packages/sdk/src/unified/exchange.ts:93
Optional leg selection for SomniaMarkets.redeem.
Properties
outcomeIdx?
optionaloutcomeIdx?:0|1
Defined in: packages/sdk/src/unified/exchange.ts:99
Leg to redeem (0 = YES, 1 = NO). Omit it on a resolved market to let the SDK verify the terminal state and read the winner on-chain. A voided market requires the leg because both can redeem.