Withdraw
Withdraws the user’s Polymarket proxy-wallet collateral to an arbitrary dstWalletAddress. Optional dstToken swaps the proxy collateral into a different token (and/or chain) before delivery.
Unlike /withdrawToEoa, this endpoint always requires an EIP-712 signatureByEvmEoa produced by the user’s EOA over { dstToken, dstWalletAddress, expiration } — see the Polymarket Signing Guide. The signature is what authorizes funds being sent to a wallet other than the EOA.
The endpoint awaits successful execution of the withdrawal transaction before returning the transaction hash.
Authorizations
Limited demo key for API Reference: 5c951bc81da566bbd030ba8e20724063.
Body
User's EVM wallet address (the signer)
^0x[a-fA-F0-9]{40}$Wallet address that receives the withdrawn funds
^0x[a-fA-F0-9]{40}$Unix timestamp (seconds) when the signature expires. Must be within the next ~300 seconds.
EIP-712 signature by the EOA over the Withdraw typed data.
^0x[a-fA-F0-9]*$Optional source token address to withdraw from the proxy wallet. Always on Polygon, so only the address is needed. Defaults to pUSD collateral. Set to USDC.e to sweep funds stuck as USDC.e.
^0x[a-fA-F0-9]{40}$Optional destination token (address + chainId). When set, the source token is swapped into this token before delivery.