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 legal
Este conteúdo é fornecido apenas para fins informativos e pode abranger produtos que não estão disponíveis na sua região. Não se destina a fornecer (i) aconselhamento ou recomendações de investimento; (ii) uma oferta ou solicitação para comprar, vender ou deter ativos de cripto/digitais, ou (iii) aconselhamento financeiro, contabilístico, jurídico ou fiscal. A detenção de ativos de cripto/digitais, incluindo criptomoedas estáveis e NFT, envolve um alto grau de risco e pode flutuar muito. Deve ponderar cuidadosamente se o trading ou a detenção de ativos de cripto/digitais são adequados para si, tendo em conta a sua situação financeira. Consulte o seu profissional jurídico/fiscal/de investimentos para tirar dúvidas sobre as suas circunstâncias específicas. As informações (incluindo dados de mercado e informações estatísticas, caso existam) apresentadas nesta publicação destinam-se apenas para fins de informação geral. Alguns conteúdos podem ser gerados ou ajudados por ferramentas de inteligência artificial (IA). Embora tenham sido tomadas todas as precauções razoáveis na preparação destes dados e gráficos, a OKX não assume qualquer responsabilidade por erros ou omissões aqui expressos. A OKX Web3 Wallet e seus serviços auxiliares não são fornecidos pela OKX Exchange e estão sujeitos aos Termos de Serviço do Ecossistema Web3 da OKX.

Artigos relacionados

Ver mais
Best of Web3 thumb
DeFi

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 technology in crypto's continued emergence, being key to the creation and inner workings of .
21/11/2025
Iniciantes
11
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 price movements, experienced investors carry out ext
21/11/2025
6
Best of Web3 thumb
Mining
Bitcoin

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 the crypto industry is block rewards. Block rewards
21/11/2025
Intermédio
3
Scalability generic thumb
Ethereum

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 for settlement via Layer 2 (L2), rather than using calldata. Blobs were created to improve Ethereum's scalability and efficiency, particularly for rollups, resulting in increased accessibility and cost-effectiveness.
20/11/2025
Avançado
17
Introducing BRC20-S
Bitcoin

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. A fungible token standard made specifically for t
20/11/2025
NFT BTC ordinals generic thumb
NFT
Bitcoin

Top 7 marketplaces for buying and selling ordinals

The ordinals protocol has gained popularity in the crypto space, with some seeing it as a way to create new protocols and BRC-20 tokens on the Bitcoin blockchain. Ordinals are also known as BTC NFTs and are considered digital artifacts. Once you mint your digital artifact, you can keep it in your wallet or sell it on a marketplace, similar to NFTs. You can learn more about their rarity in our .
30/10/2025
Intermédio
7
Ver mais