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.

Vastuuvapauslauseke
Tämä sisältö on tarkoitettu vain tiedoksi, ja se voi kattaa tuotteita, jotka eivät ole saatavilla alueellasi. Sen tarkoituksena ei ole tarjota (i) sijoitusneuvontaa tai sijoitussuositusta, (ii) tarjousta tai kehotusta ostaa, myydä tai pitää hallussa kryptoja / digitaalisia varoja tai (iii) taloudellista, kirjanpidollista, oikeudellista tai veroperusteista neuvontaa. Kryptoihin / digitaalisiin varoihin, kuten vakaakolikkoihin ja NFT:ihin, liittyy suuri riski, ja niiden arvo voi vaihdella suuresti. Sinun on harkittava huolellisesti, sopiiko kryptojen / digitaalisten varojen treidaus tai hallussapito sinulle taloudellisen tilanteesi valossa. Ota yhteyttä laki-/vero-/sijoitusalan ammattilaiseen, jos sinulla on kysyttävää omaan tilanteeseesi liittyen. Tässä viestissä olevat tiedot (mukaan lukien markkinatiedot ja mahdolliset tilastotiedot) on tarkoitettu vain yleisiin tiedotustarkoituksiin. Osa sisällöstä voi olla tekoälytyökalujen tuottamaa tai avustamaa. Vaikka nämä tiedot ja kaaviot on laadittu kohtuullisella huolella, mitään vastuuta ei hyväksytä tässä ilmaistuista faktavirheistä tai puutteista. OKX:n pörssi ei tarjoa OKX Web3 Walletia ja sen oheispalveluita ja niihin sovelletaan OKX Web3 -ekosysteemin palveluehdot.

Aiheeseen liittyvät artikkelit

Katso lisää
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.
19.8.2025
1 040
Fixed-term deals, flexible-term deals and flash deals - How are they different?
DeFi

Aave flash loan tutorial: How to create a flash loan using Aave

In traditional finance, a borrower must deposit collateral and pass credit checks before receiving a loan. However, with decentralized finance (DeFi), borrowers can access loans without providing coll
19.8.2025
13
trade-academy-beginner-4
Mining
Bitcoin
Blockchain

The 9 best ASIC miners for mining cryptocurrency in 2024

Cryptocurrency mining is an essential process that secures and verifies transactions within a blockchain network. Miners use computational power to solve complex mathematical problems, validate transa
19.8.2025
6
trade-academy-beginner-4
Ethereum

How does Ethereum work?

Ethereum (ETH) is the second-largest cryptocurrency by market cap, a position it has occupied for years. Most people consider it the second-most important crypto project ever created. While [Bitcoin (
19.8.2025
1
trade-academy-spot-1
Mining
Bitcoin

How does cloud mining work?

Cloud mining is a method for individuals to earn cryptocurrency without the complexities of traditional mining. By outsourcing computational work to remote data centers, users can participate in mining without owning expensive hardware.
19.8.2025
5
Crypto and AI
Artificial intelligence

Crypto and AI: friends or enemies?

It’s impossible to ignore the influence artificial intelligence (AI) is having on our lives today — and it's just the beginning. AI is also leaving its mark, inevitably, on crypto. To understand what's going on, here's our recap of five areas where AI is impacting crypto in a big way. 👇
19.8.2025
Katso lisää