{
"market_id": 12,
"ord_type": "limit",
"side": "yes",
"signed_order": {
"expiration": "1797600000",
"fee_rate_bps": "0",
"maker": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"maker_amount": "60000000",
"nonce": "0",
"salt": "5821094412",
"side": 0,
"signature": "0x4f2a…",
"signature_type": 2,
"signer": "0xE1188438C85C98aADFf1a88f97764E607B4978C3",
"taker": "0x0000000000000000000000000000000000000000",
"taker_amount": "100000000",
"token_id": "7138104..."
},
"volume": "100",
"client_order_id": "bot-7f3a-0001",
"direction": "buy",
"ioc": false,
"post_only": false,
"price": "0.6"
}CreateOrderRequest
Your own id for this order, 1–64 characters of A-Z a-z 0-9 _ -. Echoed on the order and its websocket frames, and filterable on the order list. A second order with an id you used in the last 7 days is rejected with 409 order.duplicate_client_order_id, so a retried placement can never create two orders.
"bot-7f3a-0001"
Whether you are opening or closing. buy posts collateral and acquires the outcome; sell offers outcome tokens you already hold, so it locks INVENTORY rather than cash and its locked is zero. Defaults to buy, which is how every order behaved before position exit. See /account/positions for how much of a holding is sellable.
buy, sell "buy"
Immediate-or-cancel. Set it on a marketable order — the "market" order a signed wallet has to send as a limit at a price ceiling: whatever the book cannot fill on arrival is refunded instead of resting at that ceiling. Ignored together with post_only. Recorded on the order as ioc.
false