ToolAssay

Construct a prediction-market order; never submits

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.

Not tested: has real-world effectsour last check, 2026-11-28
0 of 0checks answered this week
n/amedian answer time
$0.01listed price per call
n/aprice it asked us

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/orders/construct

CategoryMarket data
Provider hostchainhilt.ai
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days26 from 3 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": {
    "account": "0xE4934BB19E0B97109033dBfDcCc6957E32F9Cc60",
    "credentialToken": "pcr1.\u2026",
    "marketId": "512329",
    "orderType": "GTC",
    "outcomeTokenId": "111",
    "postOnly": false,
    "price": "0.42",
    "side": "buy",
    "size": "10",
    "walletType": "deposit_wallet"
  },
  "bodyType": "json",
  "method": "POST",
  "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": {
            "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": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON