POST /order
Submits an intent to trade. The Smart Router will analyze the request, lock the required USDC in your Oraclyst Vault (on Base), and execute the trade on the optimal venue.
Endpoint: POST /v1/order
Payload:
{
"market_id": "event_us_election_2024",
"outcome": "YES",
"side": "buy",
"amount_usdc": 1000.00,
"max_slippage": 0.01,
"strategy": "optimize_price"
}Note: strategy can be optimize_price (lowest cost) or optimize_speed (fastest execution).
Response:
{
"order_id": "ord_8837492",
"status": "filled",
"executed_price": 0.523,
"routed_to": "polymarket",
"sot_minted": "SOT-PRES24-YES",
"tx_hash": "0x123..."
}Last updated
