prediction.order
ActiveTool of Syenite
Constructs a Polymarket CLOB limit order payload ready for EIP-712 off-chain signing and submission to the Polymarket REST API. Polymarket uses off-chain order signing with on-chain settlement — this tool returns the EIP-712 typed-data (domain, types, message) that the agent must sign with its Polygon EOA private key, then POST to https://clob.polymarket.com/order with CLOB API authentication headers; it is not compatible with tx.simulate, tx.verify, or tx.receipt because no on-chain transaction is broadcast until settlement. Requires tokenId (from prediction.trending/search), side (buy or sell), outcome (YES or NO — label only), size (shares, positive), price (0–1 exclusive, USDC per share), and maker (Polygon EOA address); optionally pass expiration (unix seconds, 0 = GTC). Before the first order, the maker must approve the CTF Exchange contract to spend USDC on Polygon — the response includes approval details. Use prediction.quote first to validate fill price and available depth.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tokenId",
"side",
"outcome",
"size",
"price",
"maker"
],
"properties": {
"side": {
"enum": [
"buy",
"sell"
],
"type": "string",
"description": "Direction: buy to open, sell to close"
},
"size": {
"type": "number",
"description": "Shares",
"exclusiveMinimum": 0
},
"maker": {
"type": "string",
"description": "Polygon EOA that will sign the EIP-712 order"
},
"price": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Limit price in USDC per share (0-1)"
},
"outcome": {
"enum": [
"YES",
"NO"
],
"type": "string",
"description": "Outcome token side (YES or NO)"
},
"tokenId": {
"type": "string",
"description": "Polymarket outcome token ID"
},
"expiration": {
"type": "number",
"description": "Unix seconds (0 = GTC, default)"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Syenite
https://github.com/syenite-ai/syenite
1/7 registries