TransactionPayment pallet
Derived from live runtime metadata on TRN root (pallet index 15, captured 2026-05-02). For prose-style documentation see TransactionPayment on the curated reference side.
- Pallet index
15- Calls
- 0
- Events
- 1
- Errors
- 0
- Storage items
- 2
- Constants
- 1
Events
TransactionPayment.TransactionFeePaid
A transaction fee
actual_fee, of whichtipwas added to the minimum inclusion fee, has been paid bywho.
| Field | Type | Doc |
|---|---|---|
who | [u8;20] | |
actual_fee | u128 | |
tip | u128 |
Storage
TransactionPayment.NextFeeMultiplier
await api.query.transactionPayment.nextFeeMultiplier()Returns: u128
Modifier: Default
TransactionPayment.StorageVersion
await api.query.transactionPayment.storageVersion()Returns: {"_enum":["V1Ancient","V2"]}
Modifier: Default
Constants
TransactionPayment.OperationalFeeMultiplier
A fee mulitplier for
Operationalextrinsics to compute "virtual tip" to boost theirpriorityThis value is multipled by thefinal_feeto obtain a "virtual tip" that is later added to a tip component in regularprioritycalculations. It means that aNormaltransaction can front-run a similarly-sizedOperationalextrinsic (with no tip), by including a tip value greater than the virtual tip.rust,ignore // For `Normal` let priority = priority_calc(tip); // For `Operational` let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; let priority = priority_calc(tip + virtual_tip);Note that since we usefinal_feethe multiplier applies also to the regulartipsent with the transaction. So, not only does the transaction get a priority bump based on theinclusion_fee, but we also amplify the impact of tips applied toOperationaltransactions.
Type: u8
SCALE-encoded value: 0x05
wss://root.rootnet.live/archive/ws · captured 2026-05-02