> For the complete documentation index, see [llms.txt](https://docs.giwa.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giwa.io/giwa-chain/en/network-information/transaction-fees.md).

# Transaction Fees

How are transaction fees charged on GIWA which tokens are accepted as the fee?

## Types of Fees

By default, transaction fees on GIWA are paid in **ETH**. However, in the future, we plan to support the **Paymaster function**, which will allow users to pay transaction fees with various stablecoins.

#### **What is a Paymaster?**

A Paymaster is a system introduced in Ethereum based on the concept of **Account Abstraction**. Simply put, it enables users to execute transactions **without necessarily having to pay gas fees in ETH**.

#### Why Paymaster?

* On traditional Ethereum, every user must hold ETH in order to pay gas fees when executing transactions.
* For Web3 beginners, the idea of “what is a gas fee, and why do I need to buy ETH first?” becomes a major barrier to entry.
* Paymaster solves this problem by either **sponsoring the gas fee on behalf of the user** or allowing fees to be paid with other tokens (e.g., stablecoins).

## Transaction Fee Components

On the GIWA chain, transaction fees are made up of two components:

#### Execution Fee

The cost of executing and processing a transaction on L2 (GIWA). This works the same way as transaction fees on Ethereum. The fee is calculated as: `(gas used) × (gas price at the time)`. Like Ethereum, the GIWA chain uses the [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) mechanism to improve fee efficiency.

#### Security Fee

The cost of publishing transaction data from Layer 2 (GIWA) to Layer 1 (Ethereum). Since this is also a transaction, the corresponding Layer 1 transaction fees are charged.

{% hint style="info" %}
Why Publish Layer 1 (GIWA) Transaction Data to Layer 1 (Ethereum)?

To ensure that the GIWA chain is progressing correctly, [Data Availability](https://ethereum.org/en/developers/docs/data-availability/) is critical. Anyone should be able to download past transaction data, re-execute it, and verify. While there are multiple options for L2 data availability, publishing directly to Layer 1 (Ethereum) is known to provide the highest security. GIWA publishes directly to Ethereum to inherit strong security.
{% endhint %}

In general, execution fees are higher than security fees. Execution fees vary with Layer 2 (GIWA) network congestion, while security fees depend on Layer 1 (Ethereum) network congestion.

## Learn more

Check out the [OP Stack developer docs](https://docs.optimism.io/op-stack/transactions/fees) for further details.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.giwa.io/giwa-chain/en/network-information/transaction-fees.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
