Skip to content

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 which tip was added to the minimum inclusion fee, has been paid by who.

FieldTypeDoc
who[u8;20]
actual_feeu128
tipu128

Storage

TransactionPayment.NextFeeMultiplier

ts
await api.query.transactionPayment.nextFeeMultiplier()

Returns: u128

Modifier: Default

TransactionPayment.StorageVersion

ts
await api.query.transactionPayment.storageVersion()

Returns: {"_enum":["V1Ancient","V2"]}

Modifier: Default

Constants

TransactionPayment.OperationalFeeMultiplier

A fee mulitplier for Operational extrinsics to compute "virtual tip" to boost their priority This value is multipled by the final_fee to obtain a "virtual tip" that is later added to a tip component in regular priority calculations. It means that a Normal transaction can front-run a similarly-sized Operational extrinsic (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 use final_fee the multiplier applies also to the regular tip sent with the transaction. So, not only does the transaction get a priority bump based on the inclusion_fee, but we also amplify the impact of tips applied to Operational transactions.

Type: u8
SCALE-encoded value: 0x05

Source: live chain metadata from wss://root.rootnet.live/archive/ws · captured 2026-05-02

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.