REST API
Place multiple prediction market orders
Authorization
bearerAuth AuthorizationBearer <token>
API key passed as Bearer token in Authorization header
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/api/v1/prediction/orders/batch" \ -H "Content-Type: application/json" \ -d '{ "orders": [ { "tokenId": "string", "side": "BUY", "price": 0.001, "size": 1 } ] }'{
"success": true,
"data": {
"total": 0,
"placed": 0,
"results": [
{
"index": 0,
"success": true,
"order": null,
"error": "string"
}
]
},
"meta": {
"timestamp": 0,
"remaining": 0
}
}