chainhilt-x402
Construct a prediction-market order; never submits. Needs a `credentialToken` from /predict/polymarket/credentials. Returns `construction` and a signature action the chainhilt wallet signs and POSTs to /predict/polymarket/orders/submit. Review orderSummary and warnings before signing: `estimatedBuilderFee` (ours) and `estimatedVenueFee` (Polymarket's) are pUSD on top of the principal. Errors: 400 invalid input, 401 invalid credentialToken, 422 order refused, 502 venue failure.
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/orders/construct- MIME type
- Not provided
- First seen
- 2026-11-05T17:25:19.430Z
- Last seen
- Tags
- predict, polymarket, prediction-markets, execution, orders
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0xdECE8E839414E4a99213C658ABbD2294d5BD42B0"
}
]Observed health
- Status
- Healthy
- Latest latency
- 500 ms
- Average latency
- 362 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 8 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": {
"account": {
"description": "The signer EOA. With walletType deposit_wallet, the maker is its derived deposit wallet.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"credentialToken": {
"description": "Sealed venue credentials for `account` from POST /predict/polymarket/credentials.",
"minLength": 1,
"type": "string"
},
"expiresAt": {
"description": "ISO 8601 expiry: required for GTD, refused for GTC, at least 3 minutes out. Polymarket expires the order 60 seconds earlier.",
"type": "string"
},
"marketId": {
"description": "Polymarket market id from markets/search.",
"pattern": "^[A-Za-z0-9_-]{1,128}$",
"type": "string"
},
"orderType": {
"description": "GTC rests until filled or cancelled; GTD expires 60 seconds before `expiresAt`, Polymarket's security threshold.",
"enum": [
"GTC",
"GTD"
],
"type": "string"
},
"outcomeTokenId": {
"description": "The outcome's `tokenId` from the market's `outcomes`; must belong to `marketId`.",
"minLength": 1,
"type": "string"
},
"postOnly": {
"default": false,
"description": "Only rest on the book, never cross on arrival. Default false.",
"type": "boolean"
},
"price": {
"description": "Limit price per share in pUSD, strictly between 0 and 1 (e.g. \"0.42\"), a multiple of the market's `tickSize`.",
"pattern": "^0\\.[0-9]{1,6}$",
"type": "string"
},
"side": {
"description": "Buy or sell outcome shares.",
"enum": [
"buy",
"sell"
],
"type": "string"
},
"size": {
"description": "Shares, up to 2 decimals; at least the market's `minOrderSize`.",
"pattern": "^[0-9]+(\\.[0-9]{1,2})?$",
"type": "string"
},
"walletType": {
"default": "deposit_wallet",
"description": "deposit_wallet (default, signatureType 3) or eoa; the venue rejects plain EOA makers unless allowlisted.",
"enum": [
"deposit_wallet",
"eoa"
],
"type": "string"
}
},
"required": [
"marketId",
"outcomeTokenId",
"side",
"orderType",
"price",
"size",
"account",
"credentialToken"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"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"
}