Redeem Position
Redeems position from a resolved Polymarket market. For positions with a current value > 0, this endpoint allows users to claim their winnings from a specific market condition. For losing positions with a current value = 0, this endpoint allows users to burn their position tokens to clean up their account. Endpoint awaits successful execution of the redemption transaction before returning the transaction hash.
Every request must include expiration and an EIP-712 signatureByEvmEoa over the RedeemPosition typed data — see the Polymarket Signing Guide.
Proceeds default to the caller’s evmEoa. To deliver them to a different wallet or token, set dstWalletAddress and/or dstToken.
Authorizations
API key for authentication. Contact Swaps.xyz to obtain an API key.
Body
User's EVM wallet address
^0x[a-fA-F0-9]{40}$Polymarket condition ID for the position to redeem
"0x52f13a5eaf375170189f326e58cc6d217515de1cf9e41bff17be7779ea9a295c"
Polymarket asset ID for the asset to redeem
"25851216745091725550702226389795916287148711992808817855215289655518936398397"
Unix timestamp (seconds) when signatureByEvmEoa expires. Must be in the future and ≤ 300s ahead.
EIP-712 signature by the EOA over the RedeemPosition typed data. See the Polymarket Signing Guide.
^0x[a-fA-F0-9]*$Optional destination token. When set, redeemed USDC.e is swapped into this token (address + chainId) before delivery.
Optional wallet that receives the proceeds instead of the caller's evmEoa.
^0x[a-fA-F0-9]{40}$