pezpallet-transaction-payment

Crates.iopezpallet-transaction-payment
lib.rspezpallet-transaction-payment
version28.0.0
created_at2025-12-28 16:26:21.877772+00
updated_at2025-12-28 16:26:21.877772+00
descriptionFRAME pezpallet to manage transaction payments
homepagehttps://pezkuwichain.io/
repositoryhttps://github.com/pezkuwichain/pezkuwi-sdk.git
max_upload_size
id2009080
size203,211
(SatoshiQaziMuhammed)

documentation

https://docs.pezkuwichain.io/

README

Transaction Payment Pezpallet

This pezpallet provides the basic logic needed to pay the absolute minimum amount needed for a transaction to be included. This includes:

  • weight fee: A fee proportional to amount of weight a transaction consumes.
  • length fee: A fee proportional to the encoded length of the transaction.
  • tip: An optional tip. Tip increases the priority of the transaction, giving it a higher chance to be included by the transaction queue.

Additionally, this pezpallet allows one to configure:

  • The mapping between one unit of weight to one unit of fee via [Config::WeightToFee].
  • A means of updating the fee for the next block, via defining a multiplier, based on the final state of the chain at the end of the previous block. This can be configured via [Config::FeeMultiplierUpdate]

License: Apache-2.0

Commit count: 185

cargo fmt