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 Wallet 及相關服務並非由 OKX 交易所直接提供,受 OKX Web3 生態系統服務條款 約束。

相關推薦

查看更多
Circle cross-chain transfers thumbnail
Stablecoins
Protocols

Understanding Circle's cross-chain transfer protocol: a comprehensive guide

Have you ever felt restricted by the boundaries of a single blockchain network when managing your assets? With cross-chain token transfers from financial services company Circle, restrictions are a thing of the past. They help break down those sometimes frustrating obstacles so you can move crypto like effortlessly from networks like and Cosmos.
2025年7月15日
2
OKX Launches Bitcoin Halving-Themed Competitions
Bitcoin

What is the Bitcoin 2024 halving and how could it impact crypto?

April 19, 2024 saw the arrival of the fourth Bitcoin halving event — a significant development affecting the asset's circulation. But what is the Bitcoin halving exactly? According to the Bitcoin white paper , it's a built-in feature of Bitcoin's programming that occurs approximately every four years. This unique event cuts the number of Bitcoins awarded to miners for processing transactions in half. Why does this matter? Well, it's all about supply and control.
2025年7月15日
中級
25
Web3 rewrites social media
Research

Web1 to Web3: The rise of decentralized social media

The evolution of social media has been a fascinating journey. It started in the late 1990s when basic message board platforms and chat rooms dominated. This was a time when users were more concerned w
2025年7月15日
OKX Bot Trading
Trading guide
Blockchain
Trading basics

A beginner’s guide to IPOs: how cryptocurrency firms can go public

An initial public offering (IPO) is the process of a private company offering its shares to the public for the first time, allowing anyone to buy a stake in the company. This usually occurs when a company is looking to raise capital to fund its growth and expansion plans. IPOs have become increasingly popular among cryptocurrency firms in recent years, as they seek to gain mainstream recognition and credibility. This beginner’s guide will explore the IPO process and provide insights into how cryptocurrency firms can go public.
2025年7月15日
新手
7
Forward Contracts vs. Futures Contracts What Are the Differences
NFT
Artificial intelligence

How generative AI is transforming the NFT space

Just as NFTs swept the scene in 2021 and 2022, AI is the talk of the town today. We've witnessed the evolution ChatGPT has contributed to copy and content, but what about art and digital collectibles?
2025年7月15日
3
Forward Contracts vs. Futures Contracts What Are the Differences
Research

Consortium blockchains: What you need to know

Blockchain is a type of distributed ledger technology (DLT) that facilitates the sharing and storage of data and information in groups called blocks. The emerging technology has gained substantial pop
2025年7月15日
5
查看更多