Build the EIP-712 V2 Order typed data ready for signing
Execution
Build Order
Build an EIP-712 order for signing. Returns typed data that must be signed by the maker’s wallet before submission.
POST
Build the EIP-712 V2 Order typed data ready for signing
Request Body
Your EOA wallet address. The Safe trading address is derived automatically and returned in
safeAddress.Signer address. For Safe wallets (signatureType 2), this is your EOA address. Defaults to
maker if not provided.The outcome token ID to trade.
Order side:
BUY or SELL.Order price (must be greater than 0 and at most 1).
Number of tokens to buy or sell. Must be positive.
Set to
true for neg-risk (multi-outcome) markets.Fee rate in basis points (0 = no fee).
Order nonce for replay protection.
Expiration timestamp in seconds.
0 means no expiration.Tick size for rounding. If omitted, uses market default.
Signature type. Use
0 for EOA signatures, 2 for EIP-1271 (Safe wallet) signatures.Response
Order typed data and metadata.
Server node identifier.
Request processing time in milliseconds.
Usage Example
Integration Example
The
makerAmount and takerAmount in the order message are computed from price and size:- BUY:
makerAmount = price * size(USDC you pay),takerAmount = size(tokens you receive) - SELL:
makerAmount = size(tokens you give),takerAmount = price * size(USDC you receive)
Order endpoints currently support Polymarket only. The
platform parameter is not required — all orders are routed to Polymarket’s CLOB on Polygon.Body
application/json
Minimum string length:
1Minimum string length:
1Pattern:
^[0-9]+$Required range:
0 < x <= 1Required range:
0 < x <= 100000000Required range:
0 <= x <= 500Required range:
0 <= x <= 315360000Required range:
0 < x <= 1Required range:
0 <= x <= 2