# TransactionPayment

## Overview

The Transaction Payment pallet provides the basic logic to compute pre-dispatch transaction fees. It provides a functionality to compute the absolute minimum transaction fee to be charged for extrinsic to be included in the block.

## Configuration

This module requires the following constants to be set during runtime initialisation:

* **`ExtrinsicBaseWeight`** - the base weight of an Extrinsic in the block, independent of the of extrinsic being executed.
* **`NextFeeMultiplier`** - multiplier value for the next fee
* **`TransactionByteFee` -** fee for each byte of a transaction


---

# 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://subsembly.gitbook.io/subsembly/modules/pre-built/transactionpayment.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.
