latestOpenAPI 3.1.02026-08-1051108155.9 KB
6e6f8dad92bf
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"
}