Skip to main content
POST
/
2
/
pm
/
withdraw
/
build
Build a USDC withdrawal transaction from the Safe
curl --request POST \
  --url https://demo-api.mobula.io/api/2/pm/withdraw/build \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "amount": 500000000.005
}
'
{
  "hostname": "<string>",
  "took": 123,
  "data": "<unknown>"
}
Alpha — This endpoint is part of the Prediction Markets API, currently in early access. May change without notice.

Body

application/json
address
string
required
Minimum string length: 1
amount
number
required
Required range: 0.01 <= x <= 1000000000

Response

201 - application/json

Prediction Markets response

hostname
string
required
took
number
required
data
any | null

See the per-endpoint reference for the exact response shape.