# Transaction Fees

Transaction Fees are any funds provided by the client when submitting a transaction to be included in a block.

### Base Fee

The Base Fee is defined as the amount of XL1 that needs to be provided for a transaction to enter the pending transaction pool. If the transaction passes the initial signature check, the Base Fee is burned as part of the blockchain’s standard operation. In the case that the transaction fails protocol validation, the actor who is being asked to accept the transaction may claim the Base Fee by wrapping the invalid transaction in a Claim Transaction.

### Gas Fee

The Gas Fee is defined as the amount of XL1 that is provided to cover the cost of processing and including the transaction by the block producer. This is variable based on the size of the transaction (including elevated payloads) and the scripts processed during block building. If the gas is insufficient to cover the calculated cost, then it is not included in the blockchain. **100% of this fee may be transferred to the producer's address of choice**, which in most cases is their own address.

### Priority Fee

The Priority Fee is defined as the amount of XL1 that is granted to the block producer to raise the priority of the transaction. To determine the priority score, the priority amount is divided by the gas amount. When the transaction is included in a block, **100% of this fee may be transferred to the producer's address of choice**.


---

# 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.xyo.network/xyo-layer-one/architecture/transaction-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.
