{s}omniamarkets

@somnia-chain/markets-sdk


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

Function: claimableFrom()

claimableFrom(inputs): ClaimablePosition[]

Defined in: derivedReads.ts:396

Filter + shape settled positions into ClaimablePositions. A position is claimable when the market is voided (both sides redeem at half) OR the position holds the winning outcome (redeem at 1 − fee). Loser-side and still-trading positions are dropped (nothing to claim).

Parameters

inputs

ClaimableInput[]

Returns

ClaimablePosition[]