买币
行情
现货
合约BTC
理财
活动中心
福利中心
更多
0 费狂欢节
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.17-10.22 | 纳指周四单日重挫2.6%,高盛称AI资本开支约占标普盈利增长一半

美股周报 10.17-10.22 | 纳指周四单日重挫2.6%,高盛称AI资本开支约占标普盈利增长一半

本周大盘回顾周四的下跌集中在AI与芯片链。芯片设备商泛林集团(LRCX)在财报电话会上说,供应链限制让收入指引本可略高一些,并称洁净室空间和部分零件的紧张会延续到2027年。当天泛林跌11.8%,英伟达跌4.4%,超微半导体跌8.1%,英特尔跌8.0%。此前一晚(周三盘后),Meta公布三季度财报:营收646亿美元,同比+26%,盘后一度涨超3%,次日却收跌7.0%。公司把2026年资本开

MEXC 链上观察日报:Circle年内在Solana累计铸造1105.1亿美元USDC

MEXC 链上观察日报:Circle年内在Solana累计铸造1105.1亿美元USDC

更新于:2026年10月23日 09:30(UTC+8)|作者:MEXC要闻速览Circle年内在Solana铸造1105.1亿美元USDCUniswap v4上线Aggregator Hooks聚合功能a16z Crypto更名并扩展至前沿科技投资BNB Chain Jenner硬分叉10月28日上测试网CMCC Global将两只量化对冲基金代币化产业动态美国区块链协会致信国会,敦促推

MEXC 链上观察日报:Solana Alpenglow上线主网,目标将交易最终性时间缩短99%

MEXC 链上观察日报:Solana Alpenglow上线主网,目标将交易最终性时间缩短99%

更新于:2026年10月22日 09:30(UTC+8)|作者:MEXC要闻速览Solana Alpenglow正式上线主网灰度10只加密产品支持实物申购英国FCA启动DeFi合规及监管豁免咨询首笔代币化存款贷款参与付款落地日韩将测试日元稳定币跨境结算产业动态Fhenix主网上线,Arbitrum支持FHE隐私交易据Odaily星球日报消息,Fhenix主网已正式上线,并通过Fhenix

MEXC Alpha Trader 投研周报 | 通胀全面超预期,ETF单周失血2.28亿——降息叙事遭遇“压力测试”?

MEXC Alpha Trader 投研周报 | 通胀全面超预期,ETF单周失血2.28亿——降息叙事遭遇“压力测试”?

2026年10月第3周统计周期:2026年10月14日 – 10月20日数据截止:2026年10月20日核心叙事过去一周,加密市场在“通胀数据全面超预期”与“ETF资金持续流出”的双重压制下维持弱势震荡。比特币从83,000美元附近起步,周初受CPI数据冲击一度下探至81,000美元附近,随后在美债收益率高企与风险偏好反复的背景下,基本围绕82,000美元窄幅整理。截至10月20日,BTC报约81

相关文章

查看更多
流动性的基础知识

流动性的基础知识

流动性是在金融学中是一个含义较广的词语,在不同的语境可以有不同的含义。但总的来说,流动性可以分为以下几个概念:1)资产变现能力的强弱,指将现有资产或财富换为其他资产的能力。2)主体偿债能力强弱。常用于企业,如果企业资产现金流较多,则流动性好。3)市场中的货币存量多寡。适用于宏观经济领域,如果货币的总供应量大于总需求量,则是流动性过剩。在加密货币交易中,流动性指的是第一种情况。除此之外,加密市场的流

美股周报 10.17-10.22 | 纳指周四单日重挫2.6%,高盛称AI资本开支约占标普盈利增长一半

美股周报 10.17-10.22 | 纳指周四单日重挫2.6%,高盛称AI资本开支约占标普盈利增长一半

本周大盘回顾周四的下跌集中在AI与芯片链。芯片设备商泛林集团(LRCX)在财报电话会上说,供应链限制让收入指引本可略高一些,并称洁净室空间和部分零件的紧张会延续到2027年。当天泛林跌11.8%,英伟达跌4.4%,超微半导体跌8.1%,英特尔跌8.0%。此前一晚(周三盘后),Meta公布三季度财报:营收646亿美元,同比+26%,盘后一度涨超3%,次日却收跌7.0%。公司把2026年资本开

MEXC 链上观察日报:Circle年内在Solana累计铸造1105.1亿美元USDC

MEXC 链上观察日报:Circle年内在Solana累计铸造1105.1亿美元USDC

更新于:2026年10月23日 09:30(UTC+8)|作者:MEXC要闻速览Circle年内在Solana铸造1105.1亿美元USDCUniswap v4上线Aggregator Hooks聚合功能a16z Crypto更名并扩展至前沿科技投资BNB Chain Jenner硬分叉10月28日上测试网CMCC Global将两只量化对冲基金代币化产业动态美国区块链协会致信国会,敦促推

MEXC 链上观察日报:Solana Alpenglow上线主网,目标将交易最终性时间缩短99%

MEXC 链上观察日报:Solana Alpenglow上线主网,目标将交易最终性时间缩短99%

更新于:2026年10月22日 09:30(UTC+8)|作者:MEXC要闻速览Solana Alpenglow正式上线主网灰度10只加密产品支持实物申购英国FCA启动DeFi合规及监管豁免咨询首笔代币化存款贷款参与付款落地日韩将测试日元稳定币跨境结算产业动态Fhenix主网上线,Arbitrum支持FHE隐私交易据Odaily星球日报消息,Fhenix主网已正式上线,并通过Fhenix

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

加入 MEXC 社区

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

25k+ 位成员