POST
/
api
/
v1
/
order

Body

application/json
marketId
integer

Unique identifier for the market. Obtainable via the Markets API.

isBuy
boolean

Indicates whether the order is a buy (true) or sell (false) order.

orderType
string

Specifies the type of order (MARKET or LIMIT).

amount
string

Size of the position to be opened, denoted in the token's denomination. Precision details can be fetched via the Markets API.

price
string

The price at which the order is to be executed. For MARKET orders, this value should be set to "0".

expiryTs
integer

The expiration timestamp of the order, in milliseconds since the epoch.

isReduce
boolean

Specifies whether the order is reducing an existing position (true) or opening a new one (false).

Response

200 - application/json
body
object
message
string
status
integer