Place Order (PREDICTION_TRADE)
API Description
Place a prediction order using a previously obtained quote. Requires SAS authorization.
HTTP Request
POST /sapi/v1/w3w/wallet/prediction/trade/place-order-bundle
Request Weight(IP)
200
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| walletAddress | STRING | YES | User's prediction wallet address |
| walletId | STRING | YES | Wallet ID |
| quoteId | STRING | YES | Quote ID obtained from Get Quote |
| timeInForce | STRING | YES | Must match orderType: FOK for MARKET, GTC for LIMIT |
| accountType | STRING | YES | Payment account type. Enum: SPOT, FUNDING |
| orderType | STRING | YES | Order type. Enum: MARKET, LIMIT |
| slippageBps | INT | YES | Slippage tolerance in basis points. Range: 1–10000 |
| priceLimit | STRING | COND | Limit price. Required when orderType=LIMIT. Must be > 0 |
| fundingSource | STRING | NO | Funding source. Enum: MPC, CEX. Default: MPC |
| fundTransferAmount | STRING | NO | Auto-transfer amount before order (wei). Must be > 0 if provided |
Validation Rules:
| orderType | timeInForce | priceLimit |
|---|---|---|
MARKET | Must be FOK | Not required |
LIMIT | Must be GTC | Required, must be > 0 |
Response Example
{
"orderId": "54124"
}