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.

Ansvarsfriskrivning
Detta innehåll tillhandahålls endast i informationssyfte och kan omfatta produkter som inte finns tillgängliga i din region. Syftet är inte att tillhandahålla (i) investeringsrådgivning eller en investeringsrekommendation; (ii) ett erbjudande eller en uppmaning att köpa, sälja eller inneha krypto/digitala tillgångar, eller (iii) finansiell, redovisningsmässig, juridisk eller skattemässig rådgivning. Innehav av krypto/digitala tillgångar, inklusive stabila kryptovalutor och NFT:er innebär en hög grad av risk och de kan fluktuera kraftigt. Du bör noga överväga om handel med eller innehav av krypto/digitala tillgångar är lämpligt för dig mot bakgrund av din ekonomiska situation. Vänligen konsultera din professionella rådgivare inom juridik/skatt/investeringar för frågor om dina specifika omständigheter. Information (inklusive marknadsdata och statistisk information, om sådan finns) i detta meddelande är endast avsedd som allmän information. En del innehåll kan genereras eller assisteras av verktyg med artificiell intelligens (AI). Även om all rimlig omsorg har lagts ned på att ta fram dessa data och grafer, accepteras inget ansvar för eventuella faktafel eller utelämnanden som uttrycks häri. OKX Web3-plånbok och dess tillhörande tjänster erbjuds inte av OKX Exchange och är föremål för OKX Web3-ekosystemets användarvillkor.

Relaterade artiklar

Visa mer
Wallet import general banner
Web3

How to import MetaMask Wallet to OKX Wallet: Guide for Ethereum Wallet users

[Article]How to import MetaMask to OKX Wallet: Guide for Ethereum Wallet Users Want to import your MetaMask Wallet to OKX Wallet? This guide shows you how to securely transfer your Ethereum assets—including tokens, NFTs, and staked tokens—into OKX Wallet, a multichain wallet that supports 130+ blockchains. Learn how to import your MetaMask wallet using your 12-word recovery phrase via both our mobile app and browser extension. Explore Ethereum-based dApps like Uniswap, OpenSea, and Aave seamlessly within the OKX Wallet ecosystem while enjoying enhanced security and cross-chain capabilities.
25 juni 2025
Wallet import general banner
Web3

How to import Phantom Wallet to OKX Wallet: Guide for Solana & Sui Users

How to import Phantom Wallet to OKX Wallet: Guide for Solana & Sui Users Want to improve your wallet experience? Import your Phantom Wallet to OKX Wallet in a few simple steps. This guide shows you how to securely transfer your Solana and Sui assets—including tokens, NFTs, and staked tokens—into OKX Wallet, a multichain wallet that supports 130+ blockchains. Learn how to import your Phantom wallet using your recovery phrase via both our mobile app and browser extension, and explore Solana and Sui dApps like Jupiter, pump.fun, and Cetus seamlessly.
24 juni 2025
1
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.
16 juni 2025
798
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
16 juni 2025
4 363
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.
4 juni 2025
14
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.
4 juni 2025
Intermediär
2
Visa mer