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. Informe-se junto do seu consultor jurídico/fiscal/de investimentos para esclarecer questões relativas às 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. 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
Ver mais