Skip to main content
Version: Mainnet

Fees

RollApp nodes set the minimum-gas-prices which acts as a filter for transactions they are willing to include in a block. Transactions proposing a gas price below this minimum will not be considered by the Sequencer. minimum-gas-prices is specified in the node's configuration file, which is often located in the ~/.$ROLLAPP_HOME_DIR/config/app.toml file.

Getting to user fees

  • Gas is a special unit that is used to track the consumption of resources during execution which is calculated in the application.
  • Gas-Price is the amount of tokens that a user is willing to pay per unit of gas. Gas price is typically specified in the base denomination (e.g. adym for DYM).
  • Fees is the total amount that a user pays to submit a transaction. It is calculated as the product of the gas used by the transaction and the gas price the user is willing to pay.

Fee calculation formula:

Fees=Gas×Gas-Price\text{Fees} = \text{Gas} \times \text{Gas-Price}

EXAMPLE:

[mempool]
minimum-gas-prices = "0.10000000000000arollapp"