Skip to main content
POST
Create order

Body

application/json
order_id
string
required
owner_address
string
required
signer_address
string
required
subaccount_id
string
required
recipient_id
string
required
nonce
string
required
asset_address
string
required
worst_fee
string
required
expiry
integer
required
action_json
any
required
signature
string
required
side
enum<string>
Available options:
buy,
sell
sub_id
string
default:0
desired_amount
string
filled_amount
string
default:0
limit_price
string
order_entry_spec
string

Spot markets only — sending it on an order for any other market is rejected. Optional: omit both this and ui_intent to submit raw engine values. If either is present, this must be exactly usdc_cngn_spot_v1 and ui_intent becomes required.

Example:

"usdc_cngn_spot_v1"

ui_intent
object

Spot markets only — sending it on an order for any other market is rejected. Optional, and paired with order_entry_spec: sending one without the other is rejected. When present, the service derives side, limit_price and desired_amount from it. If you send those fields as well, each must match the translation exactly or the order is rejected.

Response

Accepted order

order
object