Order
Place an order for trading
post/v1/order
Request body
Example request
{
"data": {
"clientOrderId": "16e2da4d-58ab-4453-bdb4-8e4a865c12c1",
"expiresAt": 1712623600,
"onchainId": 1,
"quantity": "5.5",
"sender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"stopPrice": "4200.5",
"subaccount": "0x7072696d61727900000000000000000000000000000000000000000000000000"
}
}Response
Example response
{
"filled": "0",
"id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
"result": "Ok"
}Changes
Changed in 1 of the 2 revisions of this API.2
- ●
added the new
CloseOrderenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
MakerCanceledByTakerenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●