# Gas and Fees

### Gas Fee

Gas is a unit of computational cost for processing a transaction. This has two main purposes in that it enables to make sure transactions not consuming too much computational resources and to prevent unnecessary spamming from the users.&#x20;

`Gas fee` is calculated by&#x20;

$$
Gas Fee = Gas Amount \times Gas Price.
$$

The minimum amount of `Gas Amount` is determined according to the transaction. There are the recommendations of Gas Amount for the kinds of transactions. For example, for a transaction of deposit and claim, the recommended gas is `200,000`while `3,000,000` is recommended for liquid staking.&#x20;

Any transaction that does not meet both the minimum `Gas Amount` and the minimum `Gas Fee` will not be processed. The minimum `Gas Fee` in Crescent Network is set by each validator, where only transactions including more than the minimum `Gas Fee` will be included in a block proposed by the validator.&#x20;

### Swap Fee

Swap fees for takers and makers vary by market. These values can be changed through governance proposal.

### Pair/Pool Creation Fee

No position creation fees. Users can move from position to position as they want.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.crescent.network/introduction/gas-and-fees.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
