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.

Disclaimer
This content is provided for informational purposes only and may cover products that are not available in your region. It is not intended to provide (i) investment advice or an investment recommendation; (ii) an offer or solicitation to buy, sell, or hold crypto/digital assets, or (iii) financial, accounting, legal, or tax advice. Crypto/digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding crypto/digital assets is suitable for you in light of your financial condition. Please consult your legal/tax/investment professional for questions about your specific circumstances. Information (including market data and statistical information, if any) appearing in this post is for general information purposes only. Some content may be generated or assisted by artificial intelligence (AI) tools. While all reasonable care has been taken in preparing this data and graphs, no responsibility or liability is accepted for any errors of fact or omission expressed herein. OKX Web3 Wallet and its ancillary services are not offered by OKX Exchange and are subject to the OKX Web3 Ecosystem Terms of Service.

Related articles

View more
endereço de carteira blockhain

Is a paper wallet right for you? The pros and cons of using a paper wallet

When it comes to safely storing your crypto, it’s widely recommended to withdraw your coins from an exchange and store them in a personal wallet, as t
Nov 25, 2025
Beginners
Best of Web3 thumb

What are smart contracts?

Smart contracts are self-executing digital agreements written in computer code that exist on blockchain networks. They've become an essential technolo
Nov 21, 2025
Beginners
Crypto adoption generic thumbnail

What is circulating supply?

When it comes to deciding which cryptocurrency to invest in, numerous aspects of the project need to be considered. Whilst many focus solely on its pr
Nov 21, 2025
Best of Web3 thumb

What is a block reward?

While the crypto industry has adopted plenty of concepts from traditional finance, it’s also created its fair share. One concept that’s emerged from t
Nov 21, 2025
Intermediate
Scalability generic thumb

What are blobs? Ethereum's solution for scalability and efficiency

The introduction of blobs during Ethereum's Dencun hard fork is a major development in blockchain technology. Blobs are data structures that allow f
Nov 20, 2025
Advanced
Introducing BRC20-S

Introducing BRC20-S: A revolutionary new opportunity for Bitcoin and BRC-20 staking

## BRC-20 and Bitcoin staking are coming to OKX Web3 Earn BRC-20 rapidly gained momentum within the Bitcoin community when it landed on March 8, 2023.
Nov 20, 2025
View more