# How to adjust the gas fee?

![](/files/3IKfs2X8vGy8FAB3VkMK)![](/files/TOHqnF25UKbNFBzeMU0Z)

Gas fee is the fundamental cost to compensate for the computational power required to conduct a transaction. Gas limit refers to the maximum amount of gas you are willing to consume on a transaction. In Zecrey Layer 1 wallet, gas fees are automatically calculated for users to select the slow, average or fast mode. In the advanced setting, users can manually adjust the gas fee and gas limit. Setting an overly high or low gas may cause unnecessary cost or transaction failure, for L1 transactions are dependent on the state of the blockchain. If the on-chain gas fee fluctuates greatly or the block is congested, even a well-calculated gas fee can face a possibility of failure. On Zecrey Layer 2, all gas fees for transactions are fixed at 0.1%.


---

# 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.zecrey.com/education/get-started/how-to-adjust-the-gas-fee.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.
