cURL
curl --request POST \ --url https://demo-api.mobula.io/api/2/pm/withdraw/build \ --header 'Content-Type: application/json' \ --data ' { "address": "<string>", "amount": 123 } '
{ "data": { "to": "<string>", "calldata": "<string>", "chainId": 123, "safeAddress": "<string>" }, "hostname": "<string>", "took": 123 }
Build a transaction to withdraw USDC from your Polymarket Safe back to your EOA wallet.
Show Transaction Object
curl -X POST "https://api.mobula.io/api/2/pm/withdraw/build" \ -H "Content-Type: application/json" \ -d '{"address": "0xYourWalletAddress", "amount": 100}'
{ "data": { "to": "0x...", "calldata": "0x...", "chainId": 137, "safeAddress": "0x..." }, "hostname": "node-xyz", "took": 12 }
USDC amount to withdraw
Withdrawal transaction
Show child attributes