# Gas estimation

#### **Gas Estimation for Gasless Quotes**

To retrieve the gas estimation for a gasless quote, use the following endpoint:

**Endpoint:**

`/v1/gasless/estimate`

***

#### **Description**

This endpoint provides an estimate of the gas costs associated with executing a gasless quote. It helps you understand the gas fee that will be covered by the system on behalf of the user.

***

#### **Usage Example**

**Request**:

```bash
POST /v1/gasless/estimate
Content-Type: application/json
{
  "parameters": {
    // Add necessary parameters for estimation
  }
}
```

**Success response:**&#x20;

```
1137450 // estimate of the gas costs associated with executing a gasless quote
```

**Error Response**:

```json
{
    "status": 500,
    "message": "Internal Server Error",
    "requestId": "6b130836-3b52-4035-8399-464cdd78bc2f",
    "error": {
        "error": "Internal Server Error",
        "description": "execution reverted: ERC20: transfer amount exceeds balance\n",
        "statusCode": 500,
        "meta": []
    }
}
```

***

#### **Key Points**

* **Gas Coverage**: The gas fees are paid by the system for gasless trades, and this endpoint helps estimate the cost.
* **Parameters**: Ensure all required parameters are included in the request for accurate estimation.

For further details, refer to the full API documentation.
