> For the complete documentation index, see [llms.txt](https://docs.en.omnibridge.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.en.omnibridge.pro/intent/solver-integration/solver-order-creation-api.md).

# Solver Order Creation API

### 1. API Call

* **HTTP Method:** POST
* **Provider:** Solver

### 2. Request Parameters

| Parameter       | Required | Description                                     |
| --------------- | -------- | ----------------------------------------------- |
| intentId        | Yes      | Solver order ID                                 |
| fromAmt         | Yes      | Amount of the source token provided by the user |
| fromCoin        | Yes      | Source token/currency                           |
| toCoin          | Yes      | Target token/currency                           |
| toAmt           | Yes      | Amount the user should receive                  |
| destinationAddr | Yes      | User's receiving address                        |

### 3. Request Example

```json
{
    "intentId": "123456",
    "fromAmt": "1000000",
    "fromCoin": "USDT(BASE)",
    "toCoin": "USDT(ETH)",
    "toAmt": "999800",
    "destinationAddr": "0x123456"
}
```

### 4. Response Example

```json
{
    "data": {
        "result": "success"
    }
}
```

### 5. Response Parameters

| Parameter | Type   | Description                                              |
| --------- | ------ | -------------------------------------------------------- |
| result    | String | Returns `success` when the order is created successfully |
