post https://api.cvex.trade/v1/trading/estimate-atomic-orders
The "Estimate atomic orders" endpoint is designed to enable users to simulate the execution number of orders without actually committing to the trade. By providing the same parameters that would be used in a real orders creation, users can receive a detailed projection of the execution.
Response contains array of estimations for every order in request.
Required Request Headers:
X-Signature
: The required digital signature of the request.
Body Parameters:
orders
: Array of order parameters (see Estimate order)
Responses:
201 Created
: Successfully created order details including status, order ID, transaction hash, and associated events.422 Unprocessable Entity
: Order was rejected by the protocol.409 Conflict
: A conflict occurred, typically due to an existing order with the same customer ID.
Each request to this endpoint costs 10 API credits.