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.

Aviso
Este contenido se proporciona solo con fines informativos y puede incluir productos no disponibles en tu región. No tiene por objeto proporcionar (i) asesoramiento en materia de inversión o una recomendación de inversión; (ii) una oferta o solicitud de compra, venta o holding de activos digitales; ni (iii) asesoramiento financiero, contable, jurídico o fiscal. Los holdings de activos digitales, incluidos las stablecoins y los NFT, conllevan un alto nivel de riesgo y pueden fluctuar enormemente. Debes analizar cuidadosamente si el trading o el holding de activos digitales son adecuados para ti teniendo en cuenta tu situación financiera. Consulta con un asesor jurídico, fiscal o de inversiones si tienes dudas sobre tu situación en particular. La información (incluidos los datos de mercado y la información estadística, en su caso) que aparece en esta publicación se muestra únicamente con el propósito de ofrecer una información general. Algunos contenidos pueden generarse o ayudarse a partir de herramientas de inteligencia artificial (IA). Aunque se han tomado todas las precauciones razonables en la preparación de estos datos y gráficos, no se acepta responsabilidad alguna por los errores de hecho u omisión aquí expresados. OKX Exchange no ofrece la OKX Web3 Wallet ni sus servicios complementarios, y están sujetos a los Términos de servicio del ecosistema Web3 de OKX.

Artículos relacionados

Ver más
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 ago 2025
1041
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 ago 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 ago 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 ago 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 ago 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 ago 2025
Ver más