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 生態系統服務條款 約束。

相關推薦

查看更多
hard wallet
Security
Wallets
Self-custody

A complete guide to 2024's best hardware wallets

Have you ever considered the most secure method to store your cryptocurrency? A hardware wallet provides an essential safeguard solution for your cryptocurrency assets by keeping them offline. Unlike hot wallets, which can be susceptible to cyber-attacks, hardware wallets securely contain the private keys you need to gain access to your digital assets.
2025年7月29日
新手
30
NFTs generic
Blockchain
Ethereum
Protocols

All about Ethscriptions: the Ethereum protocol rivaling Bitcoin ordinals

Bitcoin ordinals took the Web3 world by storm following their introduction in January 2023. The adoption of ordinals has been massive, with millions of inscriptions being created in the few months since launch.
2025年7月23日
2
UPI and Web3 wallets India
Wallets

UPI and Web3 wallets: India's digital payment platform

Does India's adoption of the Unified Payments Interface (UPI) signify the start of a new digital payment revolution? The potential is there. Web3 decentralized protocols and technologies offer individuals more control over their data, identities, and transactions, which could be the next step in the evolution of the internet. With India's evolving digital payment infrastructure, the country is well-positioned to take advantage of the possibilities of decentralization.
2025年7月23日
2
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
Friend.tech Learn banner
Ethereum

Decoding Friend.tech: a guide to the latest big thing in crypto SocialFi

In the 21st century, social media underwent a revolution. Platforms like Friendster, MySpace, and later Meta reshaped how we connected and shared online. As the years went by, the trend shifted towards mobile-centric platforms like Instagram, X, Snapchat, and TikTok, further expanding the boundaries of online interaction.
2025年7月15日
新手
trade-academy-beginner-4
Mining
Bitcoin
Blockchain

The 9 best ASIC miners for mining cryptocurrency in 2024

Cryptocurrency mining is an essential process that secures and verifies transactions within a blockchain network. Miners use computational power to solve complex mathematical problems, validate transa
2025年7月15日
5
查看更多