Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.
Request Body
Amount of USDC to withdraw. Must be positive.
Response
Transaction calldata to sign and submit on-chain.
Chain ID (137 for Polygon).
Your Polymarket Safe address.
Request processing time in milliseconds.
Usage Example
curl -X POST "https://api.mobula.io/api/2/pm/withdraw/build" \
-H "Content-Type: application/json" \
-d '{"address": "0xYourWalletAddress", "amount": 100}'
Example Response
{
"data": {
"to": "0x...",
"calldata": "0x...",
"chainId": 137,
"safeAddress": "0x..."
},
"hostname": "node-xyz",
"took": 12
}