Processing
Relay a Polymarket deposit-wallet withdrawal
Relay a user-signed Polymarket deposit-wallet WALLET batch (approve/unwrap pUSD or transfer USDC.e) through the Polymarket relayer using server-held builder credentials. Submitted calls must target known Polymarket contracts.
post/polymarket/withdraw
Headers
x-api-keystring required
API key for authentication
Example:your-api-key
API key for authentication
x-api-versionstring
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
Example:2026-04.amazon
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
Request body
Example request
{
"depositWallet": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"owner": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"nonce": "1000000000000000000",
"deadline": "1000000000000000000",
"calls": [
{
"target": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"value": "1000000000000000000",
"data": "0x1234abcd"
}
],
"signature": "0x1234abcd"
}Response
Withdrawal relayed successfully
Example response
{
"txHash": "0x1234abcd"
}