买币
行情
现货
合约BTC
理财
活动中心
福利中心
更多
1. What are Miner Fees and Gas Fees? Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the1. What are Miner Fees and Gas Fees? Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the
新手学院/区块链百科/DeFi/What are Miner Fees and Gas Fees?

What are Miner Fees and Gas Fees?

Sep 21, 2026MEXC
4 分钟
分享

1. What are Miner Fees and Gas Fees?


Gas is a unit of measurement in the Ethereum protocol. It quantifies the computational and storage resources required to execute specific operations on the Ethereum blockchain. In simple terms, much like the literal meaning of "gas" in its context, just as every car on the road continuously consumes gasoline, on platforms like Ethereum and other smart contract platforms, each operation also consumes gas. The amount of gas represents the cost needed to perform a specific operation within the blockchain network and is eventually paid as a fee to miners. Therefore, it's often referred to as a miner fee.

The gas mechanism incentivizes the network's ecosystem through payments while effectively preventing the network from being congested by a large number of meaningless transactions. However, unlike Bitcoin, on smart contract platforms, regardless of the success of the transaction, a certain amount of gas must be paid. This is because even in the case of failure, miners have still expended resources to verify the transaction's computation.

2. Why is Gas Needed?


Gas is a crucial component of Ethereum, serving a dual purpose: as a buffer for Ethereum's floating price and miner rewards, and as a preventative measure against denial-of-service attacks. To prevent accidental or malicious infinite loops and other forms of computational waste within the network, creators of each transaction need to set a limit indicating the computational load they are willing to invest in transaction execution. The gas system helps deter attackers from sending spam transactions since they must bear the cost of the computational load, bandwidth, and storage resources they consume.

3. Gas Price and Gas Limit


Before delving into how to calculate gas fees, we need to understand two concepts in a transaction: gas price and gas limit.

Gas price allows the initiator of the transaction to set the amount of gas they are willing to pay. A higher gas price results in a faster confirmation of the transaction, while a lower gas price leads to a slower confirmation. The gas price can even be set to a minimum of 0. If there is extra space in a block, transactions with such gas prices can still be packed by miners and added to the blockchain. The Ethereum protocol itself does not prohibit feeless transactions, and there have been instances of successful feeless transactions in Ethereum's historical blocks.

Gas limit signifies the maximum amount of gas the initiator of the transaction is willing to pay to complete the transaction.

4. How to Calculate Gas Fees


In Ethereum, gas is paid using ETH, with the unit price measured in gwei. 1 gwei is equal to 0.000000001 ETH.

Prior to the Ethereum London upgrade, the gas fee calculation formula was:

Gas = Gas Limit * Gas Price

Let's assume Bob needs to send 1 ETH to Tom. The current gas limit is 21,000 units, and the gas price is 200 gwei. The gas fee would be: 21,000 * 200 = 4,200,000 gwei, which translates to 0.0042 ETH. In other words, Bob's account is debited a total of 1.0042 ETH when making the transfer, with 1 ETH going to Tom and 0.0042 ETH as the miner fee.

In August 2020, with the Ethereum London upgrade and the introduction of EIP-1559, to create smoother and more predictable fluctuations in gas prices, the gas calculation formula was adjusted:

Gas = Gas Limit * (Base Gas Price + Priority Fee)

The base gas price is calculated based on current block space usage demands and is burned upon expenditure. Users can also set a priority fee (often automatically set by third-party wallets) to ensure their transactions are processed quickly during network congestion.

Now, let's say Bob is sending 1 ETH to Tom again. Assuming a gas limit of 21,000 units, the base fee is priced at 100 gwei, and Bob pays an additional 10 gwei as a priority fee. The gas fee would be: 21,000 * (100 + 10) = 2,310,000 gwei, which is 0.00231 ETH. Thus, Bob's account is debited 1.00231 ETH, with 1 ETH going to Tom, 0.00021 ETH as the miner fee, and 0.0021 as the priority fee.

5. Why Are Gas Fees So High?


Any operation on Ethereum requires payment of gas fees, but the space in each block is limited. As Dapp functionality becomes more complex and the number of operations executed in smart contracts increases, each transaction takes up more space within the limited-sized block. With high demand, users must provide higher fees, striving to outbid other users' transactions. The higher the fee, the greater the likelihood of the transaction being included in the next block.

6. How to Improve?


Scalability upgrades for Ethereum should ultimately address some of the gas cost issues, enabling the platform to process thousands of transactions per second for comprehensive scalability.

Layer 2 scaling is a major initiative that can significantly optimize Gas costs, user experience, and scalability.

Conclusion


The surge in miner fees to some extent reflects the activity on the chain, and increased activity on the chain has a positive impact on network development and market valuation. However, the current high fees significantly impact user experience and require urgent resolution.

热门文章

查看更多
美股周报 10.24-10.29 | 谷歌单日重挫12.6%创纪录;AI资本开支账单成为美股本周主线

美股周报 10.24-10.29 | 谷歌单日重挫12.6%创纪录;AI资本开支账单成为美股本周主线

本周一句话谷歌周四(10/29)单日下跌 12.6%,彭博称这是该股有史以来最大单日跌幅。高盛认为,这次每股收益不及预期主要来自约 87 亿美元的投资减值,不是业务转弱,并认为市场低估了谷歌借十亿级用户应用分发 AI 的能力。本周美股大盘表现指数本周周四单日标普500+1.27%-0.30%纳斯达克综合指数+0.88%-1.38%本周前三个交易日美股连涨,周四科技股集体回落,纳指当

EIP-7702 是什么?以太坊智能账户功能解析,以及如何保护资产安全

EIP-7702 是什么?以太坊智能账户功能解析,以及如何保护资产安全

2026 年 10 月 29 日,币安(Binance)的一个以太坊热钱包在单笔交易中遭到掏空。 这起事件所利用的工具是 EIP-7702,这项功能已于 2025 年 5 月在以太坊上线。 截至 2026 年 10 月 30 日,尚未有任何 EIP-7702 本身存在漏洞的报告。 它只是完全按照一个有效签名的指示行事,而这正是最值得弄懂的地方。 Key Takeaways EIP-7702 让普通

MEXC 链上观察日报:币安调查潜在安全事件,多链热钱包异常资金流出

MEXC 链上观察日报:币安调查潜在安全事件,多链热钱包异常资金流出

更新于:2026年10月30日 09:30(UTC+8)|作者:MEXC要闻速览Kalshi完成10亿美元G轮融资,估值400亿美元Chainlink 24/7上线传统资产全天候行情富兰克林推出两只美股与比特币混合ETFMetaMask将Stellar设为移动端及扩展程序默认网络38家公司反对OKX与ICE的TSV代币化股票产业动态币安热钱包仍持续转出资金,总转移金额超62亿美元据Odai

能以发行价买到 Anthropic 股票吗?全球各地如何申购 Anthropic IPO

能以发行价买到 Anthropic 股票吗?全球各地如何申购 Anthropic IPO

想以发行价买到 Anthropic IPO,关键只有一个:您的券商必须拿到这次发行的配售额度。 截至 2026 年 10 月 29 日,Anthropic(ANT)尚未确定发行价,也还没公布负责散户配售的券商。 根据彭博报道,这次发行可能有 15% 至 20% 的股份配给个人投资者。 美国以外有几个国家会办理当地公开发行;其他地区中,支持地区的符合资格用户可考虑 MEXC Pre-IPO Laun

注册MEXC账号
注册 & 获得高达10,000 USDT奖金

加入 MEXC 社区

通过我们的官方 Telegram 频道,实时获取最新上币、活动和动态。

25k+ 位成员

合约

BTC/USDT
ETH/USDT
GOLD(XAU)/USDT