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 composed of several components, it isn't easy to calculate it in advance. However, here are the approximate fees for each type of transaction:
- 0.1 TON (~10 Battery charges) for sending TON or tokens.
- 0.2 TON (~30 Battery charges) for sending HMSTR.
- 0.3 TON (~50 Battery charges) for swapping TON or tokens.
- 0.5 TON (~120 Battery charges) for swapping HMSTR.
- 0.1 TON (~5 Battery charges) for sending NFTs.