Documentation Index
Fetch the complete documentation index at: https://limitless-docs-ws-settlement-events.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
As of SDK v1.0.6, all three SDKs (TypeScript, Python, Go) include helper methods for this endpoint.
- Route:
POST /portfolio/redeem - Auth:
apiToken, Privy, or session auth - Scope:
tradingwhen usingapiToken
Request body
| Field | Type | Required | Description |
|---|---|---|---|
conditionId | string | Yes | CTF condition id (bytes32 hex string). |
onBehalfOf | number | No | Managed sub-account profile id (partner flow). Must be a child of the authenticated partner profile. |
Example (HMAC)
Notes
- Market must be resolved and the position must have redeemable balance.
- API-level resolved status can appear before CTF settlement; on-chain payout must be posted before redemption succeeds.
- Legacy API keys are not supported on server-wallet operations.