Predictefy Docs
Browse documentation

Settlement claims

Redeeming settled positions with intent redeem through the build and submit path.

Redeem rides the same build and submit routes. Check the redeem flag on GET /v1/exec/venues before assuming a venue serves it in your deployment. Every redeem builds with notionalUsd 0 and no fee estimate: it withdraws your own winnings to your own wallet and authorizes no spend.

  • EVM CTF venues (Polymarket, Limitless, Opinion, Predict.fun) take owner plus a conditionId (conditionId must be bytes32 hex) and either indexSets (standard redeem) or amounts (neg-risk). The collateral and target contract are server-pinned; declaring your own is rejected. Limitless also accepts mode: limitless redeem mode must be 'standard', 'neg-risk-v1', 'neg-risk-v2', or 'neg-risk-v3'.
  • Myriad takes marketId, outcomeId, and networkId; the route and calldata are server-resolved (myriad claim route and calldata are server-resolved).
  • Rain takes marketId and owner; V2 also requires a positive 1-indexed optionId. It resolves the pool across both official catalogs, then uses the Diamond loupe to select V1 claim() or V2 claim(uint256 optionId). Unknown or ambiguous generations fail closed.