Prepare a pUSD withdrawal batch to the bridge routing address
Prepare a pUSD withdrawal batch to the bridge routing address. `recipientAddr` defaults to the signer and is echoed in `plan.plan.details.recipient`; check it before signing. 422 when the asset is not on the bridge's list or the amount is under its minimum (2 pUSD for USDC on Base), since the bridge never delivers smaller transfers. On submit, `final` means the pUSD reached the bridge; delivery to the destination chain takes minutes.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://chainhilt.ai/api/v1/predict/polymarket/wallet/:signer/withdraw/prepare
| Category | Market data |
|---|---|
| Provider host | chainhilt.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 13 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"amount": "10",
"recipientAddr": "0xE4934BB19E0B97109033dBfDcCc6957E32F9Cc60",
"toChainId": "8453",
"toTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"bodyType": "json",
"method": "POST",
"pathParams": {
"signer": "0xfb671Aa20D779BCBfF5449Dd379074B25D126218"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amount": {
"description": "pUSD to withdraw, up to 6 decimals; at most the deposit wallet's pUSD, at least the route's bridge minimum.",
"pattern": "^[0-9]+(\\.[0-9]{1,6})?$",
"type": "string"
},
"recipientAddr": {
"description": "Receiver on the destination chain. Defaults to the signer.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"toChainId": {
"description": "Destination chain id as a decimal string, e.g. \"8453\" for Base.",
"pattern": "^[0-9]+$",
"type": "string"
},
"toTokenAddress": {
"description": "Token to receive on the destination chain; must be on the bridge's list for that chain.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"toChainId",
"toTokenAddress",
"amount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"pathParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}