Fee Bump Plugin

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.

preProcess

During the preProcess step of Submit Transaction 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.

Last updated