v32

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-076085232.1 KB
Portfolio

Redeem resolved positions

Submit an on-chain redeemPositions transaction for a resolved market. Server-managed wallets only. Use onBehalfOf for partner sub-accounts.

post/portfolio/redeem

Request body

conditionIdstring required

The bytes32 conditionId of the resolved market to redeem

onBehalfOfnumber

Profile ID of the managed sub-account (partner flow). Must be a child of the authenticated partner.

Example request

{
  "conditionId": "0xa0ba8fd0acc2b86585734c07eb3bef4133f584d5abde78a558a6b8bfc3bbdec0"
}

Response

Redemption transaction submitted