Prepare an Otto-attributed Polymarket CLOB limit order
otto_prepare_polymarket_orderPrepare and verify an unsigned Polymarket CTF Exchange V2 limit order (GTC) for the caller-owned Polygon EOA, with Otto's builder code stamped inside the EIP-712 order struct and re-asserted on the exact digest the signer will sign. The price must be an exact multiple of the market's live minimum tick size and the size at or above its published minimum. The envelope's valid_until bounds freshness and is committed to the artifact digest; the exchange's own order hash is the replay boundary, and this tool cannot guarantee single execution. Returns order args and typed data only; never signs or submits, holds no CLOB credentials, and touches no collateral or allowance. Every envelope from this server is valid for 300 seconds from construction (valid_until); a stale envelope is refused by the verifier — request a fresh one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| size | Yes | Order size in outcome-token shares. | |
| price | Yes | Limit price as a probability, e.g. '0.045'. Must be an exact multiple of the market's minimum tick size. | |
| tokenId | Yes | Outcome-token id (NOT the condition id): YES and NO are different token ids. | |
| client_ref | No | ||
| accountProfile | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | Yes | ||
| payload | Yes | ||
| operation | Yes | ||
| assertions | Yes | ||
| submission | Yes | ||
| artifact_id | Yes | ||
| valid_until | Yes | ||
| intent_digest | Yes | ||
| schema_version | Yes | ||
| account_binding | Yes | ||
| fee_attribution | Yes | ||
| replay_disclosure | Yes | ||
| required_capabilities | Yes |