3

I am using Substrate node template for my application. I have added custom pallet.

This is a solo chain. I just want to know where transaction fee goes after a successful balance transfer. I have read here that For Polkadot and Kusama, 80% of the transaction fees go to the treasury, and 20% go to the block producer. But I don't have treasury pallet integrated in my runtime.

Can somebody please tell where does it to go without a treasury pellet? Does 100% go to block producer?

1 Answer 1

2

For the node template.

It uses CurrencyAdapter<Balance, ()>.

The second parameter is () instead of a treasury instance, which means the fee will be burned.

Check https://paritytech.github.io/substrate/master/pallet_transaction_payment/struct.CurrencyAdapter.html and https://paritytech.github.io/substrate/master/frame_support/traits/tokens/imbalance/trait.OnUnbalanced.html#impl-OnUnbalanced%3CImbalance%3E-for-().

2
  • which means fee will go nowhere and no-one gets the fee? Please correct if I am missing anything.
    – Boleng
    Jun 5, 2023 at 10:39
  • Yep. The token is burned/removed from the system. Jun 5, 2023 at 11:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.