Batch orders
This endpoint allows users to submit multiple order operations in a single request.
Request Body
"account"
string
required
User's wallet address
42trU9A5...
"signature"
string
required
Cryptographic signature
5j1Vy9Uq...
"timestamp"
integer
required
Current timestamp in milliseconds
1716200000000
"operations"
array
required
List of order operations to perform Each operation has an "op" field and operation-specific fields
See next three rows
"op": "create"
-
-
Create a new order
See request body example
"op": "cancel"
-
-
Cancel an existing order
See request body example
"op": "cancel_all"
-
-
Cancel all orders for a symbol
See request body example
"agent_wallet"
string
optional
Agent wallet address
69trU9A5...
"expiry_window"
integer
optional
Signature expiry in milliseconds
30000
Response
Status 200: Batch operations processed successfully
Status 400: Bad request
Status 500: Internal server error
Code Example (Python)
Last updated