@somnia-chain/markets-sdk / index / claimableFrom
Function: claimableFrom()
claimableFrom(
inputs):ClaimablePosition[]
Defined in: packages/sdk/src/derivedReads.ts:737
Filter and shape settled positions into ClaimablePositions. A position is claimable when the market is voided or when it holds the winning outcome. A void pays against the stored vector. Loser-side and still-trading positions are omitted.
Errors
Throws InvalidInputError when a void has a present but invalid payout vector. A legacy row with both vector fields absent keeps the documented half-payout fallback.