Collection
Execution desk
Submit limit or market orders using the same execution layer as the web interface. Responses include the accepted order, fills, and maker/taker metadata.
- POST
/order
Provide `marketAddress`, `side`, `direction`, `type`, `amount`, and `wallet`. Optional flags include `timeInForce`, `minFill`, `peg`, or `cancelBeforeClose` for advanced tactics.
{ "marketAddress": "0x123...", "side": "YES", "direction": "buy", "type": "limit", "price": 0.32, "amount": 100, "wallet": "0xabc..." }{ "success": true, "order": {...}, "trades": [...], "takerFee": 0.66, "makerFee": 0.22, "feeRates": { "taker": 0.02, "maker": 0.01 } }