> 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-submission-api.md).

# Solver Order Submission API

After the Solver completes the token transfer, it should immediately notify the platform through this API.

### 1. API Endpoint

```
POST https://{host}/gt/swap/intent/submitOrder
```

**2. Request Parameters**

| Parameter     | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| intentId      | Yes      | Solver order ID                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| sendUserHash  | Yes      | Transaction hash of the token transfer to the user                                                                                                                                                                                                                                                                                                                                                                                                    |
| solverAddress | Yes      | Solver receiving address                                                                                                                                                                                                                                                                                                                                                                                                                              |
| solverCode    | Yes      | Solver code                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| timestamp     | Yes      | Timestamp in milliseconds                                                                                                                                                                                                                                                                                                                                                                                                                             |
| sign          | Yes      | Request signature. Sort the request parameters (including default values, excluding `sign`, null values, empty strings, and whitespace-only strings) by parameter name in ascending lexicographical order. Concatenate them as `key1=value1&key2=value2` without URL encoding. Using the assigned `solverSecret` as the key, compute HMAC-SHA256 over the UTF-8 encoded string and convert the result to a 64-character uppercase hexadecimal string. |

### 3. Request Example

```json
{
    "intentId":"10001",
    "sendUserHash":"0x123456789",
    "solverAddress":"0x123456",
    "timestamp":1785822731000,
    "solverCode":"test",
    "sign": "xxxxxxxxxxxxxxxx"
}
```

### 4. Response Example

```json
{
    "resCode": "800",
    "resMsg": "Success",
    "data": "10001"
}
```
