Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required range:
x >= 0Intent payload variants include:
order_createorder_cancelorder_cancel_allleverage_assign
For order_create entries:
- Types:
type = "market" | "limit" - Time-in-Force:
GTC|IOC|FOK|PostOnly(rejected if it would take liquidity) - Conditional via
trigger_price:- Stop-Market:
type = "market" - Stop-Limit:
type = "limit"+price
- Stop-Market:
- Optional TP/SL bracket (
bracket):- Legs:
take_profit,stop_loss order_type = MARKET | LIMIT(LIMIT requireslimit_price)- Legs are reduce-only with IOC semantics
- Legs:
- Option 1
- Option 2
- Option 3
- Option 4
Example:
"0x3c0fc5e16a720127bbd3a3b017363a419c41bed70190a2d016e71a9ab5091eb4c558660c4695701bb7a531c86ce0d06301d286e983b6d9b7e0277a87b1512301"
Response
Intent committed
- Option 1
- Option 2
- Option 3
- Option 4
ActionStatus: 0 = Pending, 1 = Success, 2 = Rejected.
Required range:
x >= 0Example:
1
Error message present when status = 2 (Rejected).
Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0