Trading
Build Order
Changed onBuild an order without placing it. Returns the order's typed-data payload (for the wallet to sign) plus a built_order_id to pass to submitOrderHosted once it's signed.
Use this when you want a human to approve each trade before it submits — for example, surfacing the order details in a wallet popup. For everything else, use createOrderHosted, which builds + signs + submits in one call.
post/v0/trade/build-order
Request
- Base URLhttps://trade.pmxt.dev
- URLhttps://trade.pmxt.dev/v0/trade/build-order
- AuthHTTP bearer
Request body
Response
Built order with typed data to sign.
Changes
- warning
added the new
limitlessenum value to the/response property for the response status - info
added the new
limitlessenum value to the request property
- warning
- info
api tag
Tradingadded - info
api tag
Trading (Hosted)removed
- info