Buying, selling and exchanging cryptocurrency assets run a market as a whole. Each time you send crypto to the blockchain, the network fee is taken. In fact, the network fee represents a reward for miners and nodes that broadcast your transaction to a blockchain. In this article, we will discuss the main Network fee principles.
Any cryptocurrency transaction requires a fee, in order to be added to a block. The fee is distributed in several ways:
In other cases, like with NEO, the network fee is not taken due to another protocol and network rules.
The network fee payment conditions depend on each blockchain technology. In EOS blockchain, for example, there is a RAM resource working as a network fee
Bitcoin is made up of blocks which imply encrypted transactions and currently restricted up to 1,000,000 bytes and designed so that on average only 1 block per ~10 minutes can be created. Bitcoin miners can pick the transaction they want to include to the blockchain and get a reward for each block mined.
Therefore, the higher the network fee is set, the bigger the reward and the higher the priority of the transaction. Miners are interested in the transaction sized, because they can create only the blocks up to 1,000,000 bytes. The fee per byte, that’s what interests the miners.
On the Ethereum blockchain, the network fee is paid by an internal conditional unit that is called "Gas". Gas is a unit that measures the amount of computational effort that it will take to execute certain operations. The heavier your smart contract is, the more Gas you need.
It is very cheap just to send ETH, you don't need more than 21,000 Gas for it, because this is a very simple action. But when it comes to sending tokens, it requires to perform a heavy contract, much more Gas is needed (it can be 150,000 Gas or even more). In Atomic Wallet, we use a dynamic network fee, which is calculated as:Fee = Gas Limit * Propose Gas Price / 1,000,000,000 gwei
1 ETH is a 1,000,000,000 gwei like 1 BTC is a 100,000,000 satoshi.
This is an average price, however, usually much less Gas is required, so the user pays a lower network fee and the difference just stay on his or her address.
XRP is a Peer-to-Peer system that works by consensus. Each node can send and receive XRP but some of them operate as validators carrying out the RPCA (Ripple Protocol Consensus Algorithm).
They make a snapshot of the transactions that are in process and create a public list which is called the “Candidate set”. Then each validator creates its own unique node list (UNL) and votes on the accuracy of all transactions.
Transactions that receive more than a minimum percentage of “yes” votes are passed to the next round. Transactions that don't receive enough votes will be rejected or included in the next candidate set for the beginning of the consensus process again.1 XRP is 1'000'000 drops. Each transaction requires an average fee of 0.00001 XRP (10 drops) and may increase upon higher than usual load. The final round of consensus requires at least 80% of a UNL agreeing to confirm the transaction.
In Atomic Wallet, you can exchange over 60 trading pairs with built-in exchange service, a perform cross-chain Atomic Swap in a decentralized order book, buy crypto with a credit card and manage 300+ cryptocurrency assets with no extra fee.
In other words, to add a transaction to the blockchain, it's necessary to pay the network fee, even if the service that you use has no extra fees. For example, in Atomic Wallet we don't charge an extra fee for sending and receiving funds, there is a network fee only.