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.
© 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.