# Fee Bump Plugin

<figure><img src="/files/Wl6daFOPU7YT78LqKWMw" alt=""><figcaption></figcaption></figure>

The Fee Bump plugin can be used to wrap any given transaction into a Fee Bump transaction before moving forward to submit the transaction for processing.

* Pipeline Type: [Submit Transaction](/stellar-plus/reference/core/pipelines/submit-transaction.md)
* Supported Pipelines:&#x20;
  * [Submit Transaction](/stellar-plus/reference/core/pipelines/submit-transaction.md)
  * [Soroban Transaction](/stellar-plus/reference/core/pipelines/soroban-transaction.md) - Targets its inner pipeline.
  * [Classic Transaction](/stellar-plus/reference/core/pipelines/classic-transaction.md)- Targets its inner pipeline.

## preProcess

During the `preProcess` step of [Submit Transaction](/stellar-plus/reference/core/pipelines/submit-transaction.md) pipelines, the Fee Bump plugin takes the original transaction and executes internal pipelines for it using the original header provided when instantiating the plugin according to the following steps.

1. Wrap transaction into Fee Bump
2. Calculate the signing requirements
3. Sign the fee bump transaction
4. Substitute the transaction object with the fee bump transaction object

Once the transaction is successfully wrapped into a fee bump and signed, the `preProcess` step proceeds with the Fee Bump transaction instead of the original 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://docs.cheesecakelabs.com/stellar-plus/reference/utils/plugins/fee-bump-plugin.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.
