create With Base Fee
Creates a new FeeBumpTransaction with a base fee per operation.
This is the recommended way to create fee bump transactions. The total fee is calculated as:
maxFee = (baseFee × (numInnerOperations + 1)) + sorobanResourceFeeThe "+1" accounts for the fee bump operation itself.
Validation
The base fee must be at least MIN_BASE_FEE (100 stroops)
The base fee must be higher than or equal to the inner transaction's base fee
The calculated total fee must not overflow a 64-bit signed integer
V0 Transaction Conversion
If the inner transaction is a V0 envelope, it will be automatically converted to a V1 envelope (required for fee bumps).
Return
A new FeeBumpTransaction
Parameters
The account paying for the transaction fee (G... or M... address)
The maximum fee willing to pay per operation in the inner transaction (in stroops)
The inner transaction to wrap
Throws
if baseFee is invalid or results in fee overflow