Mach API Endpoints
Get Order Status
Retrieves the current status of a specific order
GET
This endpoint allows you to track the status of a previously submitted order using its unique identifier. The status information provides details about the order’s progress, including its current state, transaction details, and timing information.
Path Parameters
The unique identifier of the order to retrieve
Response
Unique identifier for the order
The address that initiated the order
The address that fulfilled the order (null if not yet fulfilled)
Address of the token being sold
Address of the token being purchased
The source chain of the order
The destination chain of the order
Amount of source token in the smallest unit
Amount of destination token to be received
Timestamp when the order was created
Timestamp when the order was filled (null if not yet filled)
Timestamp when the order expires (null if no expiration)
Whether the order has been completed
Transaction hash of the order placement
Transaction hash of the order fulfillment (null if not yet fulfilled)
Estimated time in seconds until the order is completed
Type of the order (e.g., “default”, “cctp”)
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Order details returned successfully |
| 404 | Not Found - Order with the specified ID not found |
| 422 | Validation Error - Invalid order ID format |
| 500 | Internal Server Error - Something went wrong on the server |