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
OKX's Proof of Reserves 23
Security

How to identify onchain scams and secure your wallet

As Web3 continues to evolve at pace, the onchain ecosystem is flourishing, with rising numbers of users participating in onchain transactions and other activities. Simultaneously, various onchain scams are emerging, with fraudsters tricking users into authorizing transactions or revealing their keys to steal assets.
Jun 16, 2025
772
trade-academy-spot-1
Security

Seed Phrase: Understanding and Safeguarding Your Cryptocurrency Assets

As the world of cryptocurrency continues to grow, more and more users are entering the market and handling their digital assets. One critical aspect of managing these assets is the seed phrase, a uniq
Jun 16, 2025
4,277
Your money your choice
GameFi
NFT
Wallets

A complete guide to the best crypto phones in 2024

Crypto phones  first appeared in 2018. They're smartphones equipped with Web3 connectivity, simplifying access to the decentralized web. Despite recent improvements, mobile Web3 apps can still be less user-friendly than desktop versions, challenging blockchain interactions on smartphones.
Jun 4, 2025
13
Best of Web3 thumb
Blockchain
DeFi

What is a blockchain oracle?

Blockchain technology has gained significant popularity in recent years due to its potential to revolutionize virtually every industry in some way. However, in order for blockchains to function efficiently, they require trusted and reliable data sources. This is where blockchain oracles come in.
Jun 4, 2025
Intermediate
2
golpe de investimento
Regulation

What is the SOC (service organization control) report and what does it mean for crypto?

Among the many controls and processes put in place to protect consumers and clients of professional services vendors, the service organization control (SOC) report stands as one of the most important.
May 27, 2025
Beginners
2
MP Cover
Security

What is a private key?

You may have heard the phrase “not your keys, not your coins” uttered in the cryptocurrency industry before. The keys being referred to here are private keys — a secret number used in cryptography — w
Apr 28, 2025
137
View more