Api Endpoint

chainhilt-x402

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.

Open interactive test console

Offering

Provider
chainhilt.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://chainhilt.ai/api/v1/predict/polymarket/wallet/:signer/withdraw/prepare
MIME type
Not provided
First seen
2026-11-05T17:25:19.430Z
Last seen
Tags
predict, polymarket, prediction-markets, Wallet

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xdECE8E839414E4a99213C658ABbD2294d5BD42B0"
  }
]

Observed health

Status
Healthy
Latest latency
947 ms
Average latency
894 ms
HTTP status
204
Last checked
Reachability
88.9% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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 schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}