Network fee on TON blockchain
What is included in the network fee?
According to the official TON blockchain documentation, the network fee is calculated using the following formula: TransactionFee = StorageFees + InFwdFees + ComputationFees + ActionFees + OutFwdFees
- StorageFees: Charged for storing a smart contract on the blockchain, applied when sending or receiving transactions.
- InFwdFees: Charged for delivering incoming external messages.
- ComputationFees: Charged for running code in the TON Virtual Machine (TVM).
- ActionFees: Charged for processing smart contract actions.
- OutFwdFees: Charged for delivering outgoing internal messages.
What currency is used for network fee?
Network fees (or gas) are always paid in Toncoin (TON). However, with the Tonkeeper Battery feature, you can make transactions even if your wallet has no TON. The fees are covered using Battery charges instead.
How is the network fee calculated?
Since the network fee is made up of several components, it’s difficult to calculate it in advance. However, approximate values are pre-set for each type of transaction:
- Sending tokens: Requires 0.1 TON or ~10 Battery charges. Exception: Sending HMSTR tokens requires 0.2 TON or ~30 Battery charges.
- Swapping tokens: Requires 0.3 TON or ~50 Battery charges. Exception: Swapping HMSTR tokens requires 0.5 TON or ~120 Battery charges.
- Sending NFTs: Requires 0.1 TON or ~4 Battery charges.