此網頁僅供信息參考之用。部分服務和功能可能在您所在的司法轄區不可用。

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.

免責聲明
本文章可能包含不適用於您所在地區的產品相關內容。本文僅致力於提供一般性信息,不對其中的任何事實錯誤或遺漏負責任。本文僅代表作者個人觀點,不代表 OKX 的觀點。 本文無意提供以下任何建議,包括但不限於:(i) 投資建議或投資推薦;(ii) 購買、出售或持有數字資產的要約或招攬;或 (iii) 財務、會計、法律或稅務建議。 持有的數字資產 (包括穩定幣和 NFTs) 涉及高風險,可能會大幅波動,甚至變得毫無價值。您應根據自己的財務狀況仔細考慮交易或持有數字資產是否適合您。有關您具體情況的問題,請諮詢您的法律/稅務/投資專業人士。本文中出現的信息 (包括市場數據和統計信息,如果有) 僅供一般參考之用。儘管我們在準備這些數據和圖表時已採取了所有合理的謹慎措施,但對於此處表達的任何事實錯誤或遺漏,我們不承擔任何責任。OKX Web3 功能,包括 OKX Web3 錢包和 OKX NFT 市場都受 www.okx.com 單獨的服務條款約束。
© 2024 OKX。本文可以全文複製或分發,也可以使用本文 100 字或更少的摘錄,前提是此類使用是非商業性的。整篇文章的任何複製或分發亦必須突出說明:“本文版權所有 © 2024 OKX,經許可使用。”允許的摘錄必須引用文章名稱並包含出處,例如“文章名稱,[作者姓名 (如適用)],© 2024 OKX”。不允許對本文進行衍生作品或其他用途。
展開
相關推薦
查看更多
查看更多