Gas-related concepts

Gas fee

Fee paid to miners.

Take Ethereum as an example: when a user transfers money on the Ethereum network, the transaction can only be completed after miners pack this transaction and put it on the blockchain. This process consumes the computational power of the blockchain.

Different tokens are used for payment on different main networks: for example, the Ethereum network uses ETH, while OKC uses OKT.

Calculation formula of gas fee: Gas Fee = Gas Price * Gas Limit.

Gwei

Price per unit of gas.

Gas price is usually expressed in Gwei, 1 Gwei = 0.000000001 ETH.

Gas price

Gas Price refers to the amount of Gwei.

It affects the speed of a user’s transaction. If you set a higher gas price, miners will likely prioritize your transaction. On the contrary, if you lower the gas price, your transaction will typically take more time.

Gas limit

Defines the maximum amount of gas an operation can use before each transaction or contract order.

If the amount of gas used in this operation is less than or equal to the gas limit set by the user, the operation will be executed.

Transactions with a lower gas limit than the gas actually used will never execute. In this case, you will not be refunded the gas spent.

The gas limit is usually set at a standard of 21,000.

免責聲明
本內容僅供參考,可能包含您所在地區不支持的產品信息。本內容無意提供 (i) 投資建議或投資推薦;(ii) 購買、出售或持有數字貨幣/數字資產的要約或邀約;或 (iii) 財務、會計、法律或稅務建議。持有數字貨幣/數字資產 (包括穩定幣和 NFT) 存在較高風險,其價值可能大幅波動。您應根據您的財務狀況和風險承受能力,仔細考慮交易或持有數字貨幣/數字資產是否適合您。有關您的具體情況,請諮詢您的法律/稅務/投資專業人士。本帖中的所有信息 (包括市場數據與統計資料) 僅作一般性參考。某些內容可能由人工智能 (AI) 工具生成或輔助。雖然我們在編寫相關數據和圖表時已採取一切合理措施確保準確,但我們不對其中可能存在的任何事實錯誤或遺漏承擔任何責任。OKX Web3 錢包及相關服務並非由 OKX 交易所直接提供,受 OKX Web3 生態系統服務條款 約束。

相關推薦

查看更多
OKX's Proof of Reserves 23
Security

How to identify onchain scams and secure your wallet

As Web3 continues to evolve at pace, the onchain ecosystem is flourishing, with rising numbers of users participating in onchain transactions and other activities. Simultaneously, various onchain scams are emerging, with fraudsters tricking users into authorizing transactions or revealing their keys to steal assets.
2025年6月16日
772
trade-academy-spot-1
Security

Seed Phrase: Understanding and Safeguarding Your Cryptocurrency Assets

As the world of cryptocurrency continues to grow, more and more users are entering the market and handling their digital assets. One critical aspect of managing these assets is the seed phrase, a uniq
2025年6月16日
4,278
Your money your choice
GameFi
NFT
Wallets

A complete guide to the best crypto phones in 2024

Crypto phones  first appeared in 2018. They're smartphones equipped with Web3 connectivity, simplifying access to the decentralized web. Despite recent improvements, mobile Web3 apps can still be less user-friendly than desktop versions, challenging blockchain interactions on smartphones.
2025年6月4日
13
Best of Web3 thumb
Blockchain
DeFi

What is a blockchain oracle?

Blockchain technology has gained significant popularity in recent years due to its potential to revolutionize virtually every industry in some way. However, in order for blockchains to function efficiently, they require trusted and reliable data sources. This is where blockchain oracles come in.
2025年6月4日
中級
2
golpe de investimento
Regulation

What is the SOC (service organization control) report and what does it mean for crypto?

Among the many controls and processes put in place to protect consumers and clients of professional services vendors, the service organization control (SOC) report stands as one of the most important.
2025年5月27日
新手
2
MP Cover
Security

What is a private key?

You may have heard the phrase “not your keys, not your coins” uttered in the cryptocurrency industry before. The keys being referred to here are private keys — a secret number used in cryptography — w
2025年4月28日
137
查看更多