Redeem positions

Redeems the authenticated user's winning positions in resolved markets.

POSThttps://mgapi.forkast.gg/api/v1/positions/redeem

Redeems the authenticated user's winning positions in resolved markets. Requires a Gnosis Safe transaction signature (signature + dataSign) authorizing the on-chain settlement.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

signaturestringrequired
dataSignobjectrequired
dataSign.tostringrequired
dataSign.valuestringrequired
dataSign.datastringrequired
dataSign.operationstringrequired
dataSign.noncestring
walletProxystringrequired
marketIdsarray<any>required

Response

application/json

Redeem response

successboolean
resultsarray<any>
errorstring