Open orders
Returns the authenticated user's open orders. Currently returns an empty array (stub — order tracking will be implemented in a future release).
Returns the authenticated user's open orders. Currently returns an empty array (stub — order tracking will be implemented in a future release).
Query Parameters
Filter by instrument symbol
Header Parameters
Account address (hex-encoded, checksummed)
Hex-encoded 65-byte signature (production only)
Unix timestamp in milliseconds (production only)
Response Body
application/json
application/json
curl -X GET "http://localhost:3000/api/v1/openOrders" \ -H "X-Account-Address: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"[
{}
]{
"code": -1121,
"msg": "Invalid symbol."
}Account balances GET
Returns the authenticated user's account balances. The account is determined solely by the authentication headers — there is no `user` parameter. **Dev mode:** Requires `X-Account-Address` header. **Production:** Requires `X-Account-Address`, `X-Signature`, and `X-Timestamp` headers.
Add a new instrument POST
Register a new trading instrument. Requires admin authentication.