Most cryptocurrencies let you choose your fee. Why does Monero use a hard coded fee?

Edit: Or rather I should say why is the minimum fee hard coded.

  • 1
    @seekadventure I'm looking for the rationale behind this aspect of Monero. Commented Aug 1, 2016 at 1:42
  • 1
    fair enough. I can see the distinction and retract my claim that is looked like a duplicate Commented Aug 1, 2016 at 1:43
  • 1
    @seekadventure They are related questions. Commented Aug 1, 2016 at 1:43

2 Answers 2


The fees are not exactly hard-coded, the amount per kB is hardcoded. This was enacted after the block overflow attack where the attacker had to expand the blocksize by flooding it with transactions until they were able to fit more than 512 transactions in a single block, which they were able to do for little cost because tx fees were so cheap at that time. So, the switch to a fixed fee per kB was done to make any kind of flooding or spam attack much more expensive to pull off. I believe the intent is that it is a temporary measure, and it will be removed allowing for dynamic tx fees per kB in the future.


I doubt most other currencies do not have hardcoded fees.

In any case, some research has started a while back into making fees a function of the past. Variables that could have an influence on fee include block sizes, and transaction volume. Monero price is an external metric, so that seems difficult to integrate into a dynamic calculation, and, if it were to be included, would likely need maintainer input to change it.

A spam attack in 2014 caused the fee to be increased as a first defense. This fee is expected to decrease should the price of monero increase substantially against fiat currency.

  • 4
    Bitcoin's aren't hard-coded, because they don't have a minimum. You can send a 0-fee transaction. Monero has a minimum because fees are only used for anti-spam, where in Bitcoin they are expected to form the bulk of the mining reward after a certain point in the emission curve. Commented Aug 1, 2016 at 11:34
  • 2
    You're right, I forgot the fee formula isn't consensus, and I guess most currencies inherit that.
    – user36303
    Commented Aug 1, 2016 at 12:22
  • IOTA is has 0 transaction fees, but it is a DAG and not a blockchain.
    – nu everest
    Commented Sep 27, 2017 at 13:41

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.