In the Polkadot and Kusama networks, users can pay an additional fee to increase the priority of this transaction and make the transaction successful quickly. This additional fee is the "tip".
Fee Calculation
Fees on the Polkadot Relay Chain are calculated based on three parameters:
- A per-byte fee (also known as the "length fee"):The length fee is the product of a constant per-byte fee and the size of the transaction in bytes.
- A weight fee:Weights are a fixed number designed to manage the time is takes to validate a block. Each transaction has a base weight that accounts for the overhead of inclusion (e.g. signature verification) as well as a dispatch weight that accounts for the time to execute the transaction. The total weight is multiplied by a per-weight fee to calculate the transaction's weight fee.
- A tip (optional):Tips are an optional transaction fee that users can add to give a transaction higher priority.
Together, these three fees constitute the inclusion fee. This fee is deducted from the sender's account prior to transaction execution. A portion of the fee will go to the block producer and the remainder will go to the Treasury. At Polkadot's genesis, this is set to 20% and 80%, respectively.