Creates a buy/sell order for prediction market positions. Requires signed order data.
venue.exchange as verifyingContract| Field | Type | Description |
|---|---|---|
clientOrderId | string | Idempotency key (max 128 chars). If a duplicate is submitted, the server returns 409 Conflict. |
onBehalfOf | number | Profile ID to place order on behalf of. Requires a scoped API token with trading scope and a partner relationship with the target profile. |
delegated_signing scope can omit signature and signatureType from the order object. The server signs the order using a Privy server wallet linked to the target account. See Authentication for details.
execution object with settlement details:
| Field | Type | Description |
|---|---|---|
matched | boolean | Whether the order was matched immediately |
settlementStatus | string | UNMATCHED, MATCHED, MINED, CONFIRMED, RETRYING, or FAILED |
tradeEventId | string | Trade event ID (present when matched) |
txHash | string | On-chain transaction hash (present when mined) |
feeRateBps | number | Fee rate in basis points |
effectiveFeeBps | number | Effective fee rate after rebates |
totalsRaw | object | Raw execution totals (contractsGross, contractsFee, contractsNet, usdGross, usdFee, usdNet) |
API key for programmatic access. Generate at limitless.exchange -> profile menu -> Api keys.
Order creation data including signature and order parameters
Order details including signature and amounts
Profile ID of the order owner
12345
Order type (GTC=Good Till Cancelled, FOK=Fill Or Kill)
FOK, GTC "GTC"
Market identifier slug
"biden-vs-trump-2024"
Client-provided idempotency key for order placement. If a duplicate is submitted, the server returns 409 Conflict.
128"client-order-001"
Profile ID to place order on behalf of (partner flow). Requires an API token with trading scope and a partner relationship with the target profile.
12345