此网页仅供信息参考之用。部分服务和功能可能在您所在的司法辖区不可用。

Gas 相关概念

Gas Fee

支付给矿工的手续费。
以以太坊为例;当用户在以太坊网络上进行转账时,只有经过矿工把这笔交易打包并放上区块链之后,才能使交易完成,在这过程中会消耗区块链的运算资源,所以用户需要向矿工支付一定的费用。
在不同主网上使用不同的代币进行支付:比如以太坊网络使用的是ETH,而OKTC上使用的则是OKT
关于Gas Fee的计算公式 :Gas Fee= Gas Price * Gas Limit

Gwei

每单位 Gas 的价格。
Gas 价格通常使用 Gwei 来表示,1 Gwei = 0.000000001 ETH

Gas Price

Gas Price 是指 Gwei 的数量。
它会影响到用户的交易速度。Gas Price 设置的高,就会让给矿工有动力优先打包该笔交易;相反,如果Gas Price 设的低就要等待比较长的时间。

Gas Limit

每次交易或合约调用前设定的最大消耗 Gas 的数量。
如果该次操作所使用的 Gas 数量小于或等于用户所设置的 Gas Limit,则会被执行。
但如果 Gas 总消耗量超过 Gas Limit,会导致交易失败,但费用依旧会被收取。

免责声明
This content is provided for informational purposes only and may cover products that are not available in your region. No responsibility or liability is accepted for any errors of fact or omission expressed in this content. It is not intended to provide (i) investment advice or an investment recommendation; (ii) an offer or solicitation to buy, sell, or hold digital assets, or (iii) financial, accounting, legal, or tax advice.
© 2024 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2024 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2024 OKX.” No derivative works or other uses of this article are permitted.
Information about: digital currency exchange services is prepared by OKX Australia Pty Ltd (ABN 22 636 269 040); derivatives and margin by OKX Australia Financial Pty Ltd (ABN 14 145 724 509, AFSL 379035) and is only intended for wholesale clients (within the meaning of the Corporations Act 2001 (Cth)); and other products and services by the relevant OKX entities which offer them (see Terms of Service). Information is general in nature and should not be taken as investment advice, personal recommendation or an offer of (or solicitation to) buy any crypto or related products. You should do your own research and obtain professional advice, including to ensure you understand the risks associated with these products, before you make a decision about them. Past performance is not indicative of future performance - never risk more than you are prepared to lose. Read our Terms of ServiceTerms of Serviceand Risk Disclosure Statement for more information.
展开
相关推荐
查看更多
查看更多