He aha ngā utu hinu? Me pēhea te utu iti
Every blockchain transaction costs gas. Learn what gas fees are, how Ethereum prices them, why they spike, how Layer 2 networks compare, and practical ways to cut what you pay.
He aha ngā utu hinu?
Gas fees are the transaction costs you pay to use a blockchain network. Gas is the fuel for every action on the network: sending tokens, swapping on a decentralized exchange (DEX), deploying a smart contract, or minting a non-fungible token (NFT). Without gas fees, validators would have no reason to process transactions and nothing would stop anyone from flooding the network with junk requests.
On Ethereum, gas measures the computational work a transaction needs, per ethereum.org. Every step, such as reading storage, writing data or doing arithmetic, consumes a fixed number of gas units. The fee is the number of gas units used multiplied by the price per unit. A simple ETH transfer uses 21,000 gas units. A DeFi transaction that touches several contracts uses far more, because it performs far more steps.
Since the EIP-1559 upgrade (August 2021), the price per unit has two parts. The base fee is set by the protocol from how full the previous block was: it rises when blocks are more than half full and falls when they are less than half full. The base fee is burned, which means it is permanently removed from supply. On top of it, users add a priority fee, also called a tip, which goes to the validator that includes the transaction.
The formula is: Total Fee = Gas Units Used x (Base Fee + Priority Fee). Suppose the base fee is 20 gwei, your tip is 2 gwei, and the transaction uses 21,000 gas units. You pay 21,000 x 22 gwei = 462,000 gwei = 0.000462 ETH. Multiply by the ETH price of the day to get the cost in dollars. Live gas prices are on the Etherscan Gas Tracker (see Sources).
Hāora Whatunga
Gas pays for every on-chain action. Validators receive the tip for processing your transaction and keeping the network running.
Utu Taketake + Tohu
EIP-1559 splits the fee into a burned base fee and a priority tip. The base fee adjusts automatically with block demand.
Whakawetewete ETH
The base fee is burned, which reduces ETH supply. When the burn exceeds new issuance, the total supply falls.
Me pēhea te mahi o ngā utu hinu i runga i te Ethereum
Knowing the mechanics of Ethereum gas helps you predict costs and avoid overpaying. Here are the four components, as described in the ethereum.org gas documentation and EIP-1559.
Gwei: Te Uniti o te utu hinu
Gas prices are quoted in gwei, a sub-unit of ETH. One gwei equals 0.000000001 ETH (10-9). When someone says "gas is 25 gwei", they mean each unit of gas costs 25 billionths of an ETH. That is tiny on its own, but a transaction uses tens or hundreds of thousands of gas units, so the total adds up.
The name comes from "giga-wei". Wei is the smallest unit of ETH: 1 ETH = 1018 wei, per ethereum.org. You will see gwei in wallets such as MetaMask, on gas trackers and on block explorers such as Etherscan.
Te Pae Hinu
The gas limit is the maximum number of gas units you allow a transaction to consume. It is a safety cap: if the transaction would need more gas than the limit, it reverts (fails) and you still pay for the gas used up to that point. A simple ETH transfer always uses exactly 21,000 gas. Token transfers and swaps use more, and the amount depends on the contract code involved. Your wallet estimates the figure before you confirm.
Setting the limit too low makes the transaction fail. Setting it higher than needed is safe, because you only pay for gas actually consumed: unused gas is refunded, per ethereum.org.
Utu Taketake me te Utu Matua
Under EIP-1559, the protocol sets the base fee. It targets blocks that are half full: when the previous block used more than the target, the base fee rises by up to 12.5% for the next block; when it used less, the base fee falls by up to 12.5%. This makes fees predictable from one block to the next. The base fee is burned in full, so validators do not receive it.
The priority fee, or tip, goes to the validator that includes your transaction. Your wallet suggests a tip based on recent blocks; in quiet periods it can be a fraction of a gwei, and during congestion users raise it to be included sooner. The "max fee per gas" setting caps the total you are willing to pay (base fee plus tip), which protects you if the base fee jumps before your transaction is included.
Mokowā Paraka: Te Rauemi Pūkete
Ethereum produces a new block every 12 seconds. Each block has a gas limit, and the EIP-1559 target is half of that limit. The gas limit is set by validators and has been raised several times; the current value is shown on Etherscan (see Sources). Block space is the scarce resource that gas fees price: when more people want to transact than a block can hold, fees rise to ration access.
Gas fees are therefore a matter of supply and demand. The supply of block space is fixed by protocol rules. Demand moves with market activity, DeFi usage, NFT drops and token launches. This is why timing matters when you want to pay less.
He aha te huringa o ngā utu hinu
If you have watched Ethereum gas prices, you know they can swing from a few gwei on a quiet weekend to many times that during a viral event. The same transaction can cost a few cents one night and tens of dollars the next afternoon. The reason is always the same: demand for block space.
Because block size is capped, any sudden rise in demand pushes fees up. EIP-1559 makes the response fast: when blocks stay full, the base fee climbs by up to 12.5% every 12 seconds. A sustained run of full blocks can double the base fee in a few minutes, and the same rule brings it back down just as quickly once demand fades.
Ngā āwangawanga whatunga
Bull markets bring more users, more trading and more on-chain activity. When blocks stay above the target for long periods, the base fee keeps climbing. The 2021 DeFi and NFT boom kept average gas prices high for weeks; the historical chart on Etherscan shows these periods (see Sources).
Ngā Minti me ngā Tātaritanga NFT
Popular NFT launches create "gas wars" in which thousands of users compete to mint in the same block. During the largest mints, buyers have paid more in gas than the NFT itself cost. Even smaller drops can cause brief but sharp spikes.
Ngā tono airdrop
When a major protocol distributes a token airdrop, a wave of claim transactions hits the network at once. Claims such as the Arbitrum ARB and Starknet STRK distributions caused temporary gas spikes as users rushed to collect their tokens.
Ngā Rere Whakawātea i te DeFi
Sharp price drops trigger waves of liquidations on lending protocols such as Aave and Compound. Liquidation bots compete for block space because each liquidation earns a bonus, so they outbid each other on tips and push fees up for everyone.
Utu Hāora i ngā Ārahi Rerekē
Not all blockchains charge the same fees. Layer 2 rollups and alternative Layer 1 chains are usually far cheaper than Ethereum mainnet. Dollar figures change by the hour, so this table shows how each network sets its fees and where to check the live number.
| Whatunga | How fees are set | Typical level | Live fees | Momo |
|---|---|---|---|---|
| Ethereum L1 | EIP-1559 base fee plus tip | Highest of the group | Etherscan Gas Tracker | L1 |
| Arbitrum | L2 execution fee plus L1 data fee | Cents or less | Arbiscan | Roroa L2 |
| Pūtake | L2 execution fee plus L1 data fee | Cents or less | Basescan | Roroa L2 |
| Polygon PoS | Own EIP-1559 style market, paid in POL | Cents or less | Polygonscan | Ara‑āwhina |
| Solana | Fixed base fee per signature plus optional priority fee | Fractions of a cent | Solana explorers | Kōwhiringa L1 |
Note: "Typical level" is an order of magnitude, not a quote. Actual costs vary with congestion and with the price of the token used to pay gas. Layer 2 fees fell sharply after EIP-4844 (March 2024) gave rollups a cheaper way to post data to Ethereum; see the Arbitrum and Optimism documentation in Sources for how each network splits its fee between execution and data.
Aukati i te Hāora, Whiwhi te Pūtau
Gas fees eat into your returns on Ethereum L1. With Coinstancy Dollar Savings, earn 7.50% APY on USDC without managing gas for compounding yourself. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime.
Whiwhi 7.50% APY i runga i te USDCMe pēhea te whakaiti i ngā utu hinu
You cannot remove gas fees, but you can cut them a great deal with a few habits. Here are the most effective approaches, from the easiest to the most advanced.
Whakamahia ngā whatunga Raupapa 2
The single biggest saving comes from moving your activity to a Layer 2 network. Arbitrum, Base and Optimism are Ethereum rollups: they execute transactions off the main chain and post compressed data back to Ethereum, so they inherit its security while charging a small fraction of its fees, per ethereum.org. Most major DeFi protocols (Uniswap, Aave, Compound) are deployed on several L2s. Bridge your assets once, then transact there.
Since EIP-4844, a simple swap on a rollup usually costs cents rather than dollars. For frequent DeFi users, the difference adds up quickly. Check the live fee on the explorer of the L2 you plan to use before you bridge (see Sources).
Whakatau i te wā o ō whakawhitinga
Gas prices follow user activity. Fees are usually lower when fewer people are transacting, which in practice often means weekends and the hours outside North American and European working days. There is no fixed schedule, though: a single large mint or a market crash can fill blocks at any hour.
Use the Etherscan Gas Tracker or a similar tool to watch the live price (see Sources). Many tools let you set an alert that fires when gas drops below a target gwei level. If your transaction is not urgent, waiting a few hours for a dip can cut the fee substantially.
Ngā Whakawhitinga Rārangi
Every transaction pays a base cost of 21,000 gas before any contract logic runs, per ethereum.org. If you need to perform several operations, combining them into one transaction saves that overhead each time. Smart contract accounts (through account abstraction) and protocols with built-in batching let you bundle approvals, swaps and deposits into a single on-chain transaction.
For example, instead of sending one transaction to approve a token and a second to swap it, some DEXs accept a signed permit (EIP-2612) that authorizes the spend inside the swap itself. That removes the separate approval transaction and its gas cost.
Whakamahia ngā Kaupapa Kore Hinu
Some protocols pay the gas on your behalf. CoW Swap offers gasless swaps: you sign an off-chain order, and a solver pays the gas to execute your trade on-chain. The gas cost is built into the execution price rather than charged as a separate fee. This is useful if you hold only ERC-20 tokens and have no ETH to pay gas with.
Other options include intent-based swap modes on aggregators, relay services that dApp developers use to sponsor gas for their users, and any protocol that accepts ERC-20 permit signatures instead of a separate approval transaction.
Whakaritea ngā tautuhinga hinu ā-ringa
Wallets such as MetaMask let you edit gas settings. For a non-urgent transaction, lower the max priority fee to the low end of what the wallet suggests and set a conservative max fee. The transaction may take a few extra blocks to confirm, but you pay less. Do not set the max fee below the current base fee, or the transaction will sit pending until fees drop.
Utu hinu me DeFi
Gas fees quietly erode DeFi returns, especially for smaller portfolios on Ethereum L1. A little arithmetic tells you whether a strategy is worth executing at all.
Te Whakamāramatanga Pae-utu
Every DeFi position has a gas cost to enter (approve and deposit), ongoing costs (claiming rewards, compounding) and a gas cost to exit (withdraw). Take a hypothetical example: you deposit $500 into a yield farm on Ethereum L1 earning 10% APY, so you expect $50 a year. If the deposit costs $15 in gas, each quarterly claim costs $15 ($60 a year) and the withdrawal costs $15, you have spent $90 in gas to earn $50.
The lesson: before you enter a position on L1, estimate the total gas for the whole cycle at current prices and compare it with the yield you expect over your holding period. When the gas is a large share of the expected return, the position does not make sense on L1. This is why most small and medium DeFi positions now live on Layer 2.
He aha te ngaro moni o ngā tāpuitanga iti i runga L1
Gas depends on the work a transaction does, not on the amount involved. A $100 deposit and a $100,000 deposit into the same contract cost the same gas. The fee is flat, so it weighs far more heavily on small users. For a small trade, gas can be a large share of the value moved. For a large one, it is a rounding error.
This is one of the main usability problems of Ethereum L1, and it was most visible during the 2021 congestion. Layer 2 networks address it directly by making gas affordable at any portfolio size.
Pānga ki te Rautaki Whai Hua
Gas costs change which strategies are viable. On L1, compounding rewards by hand every week can cost more in gas than the extra yield it earns. On L2, the same compounding costs cents. Auto-compounding vaults (such as Yearn or Beefy) pool this cost across all depositors, so one transaction compounds for everyone, in exchange for a performance fee.
When you evaluate any DeFi yield, calculate the net figure: Net Yield = Gross APY minus (Total Gas Costs divided by Deposit Size). A farm advertising 20% APY means nothing if gas consumes a quarter of your principal.
Kāore he māuiui hinu. Ko te hua anake.
Coinstancy handles the on-chain work for you: no gas calculations, no compounding transactions, no L2 bridging. Deposit USDC in Dollar Savings and earn 7.50% APY. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime.
Tīmata te whiwhi moni i te CoinstancyTe Anamata o ngā Utu Hinu
The Ethereum roadmap aims to make gas a minor concern for everyday users. Several upgrades and design patterns are already live, and others are planned. The details below come from the Ethereum roadmap pages and the relevant EIPs (see Sources).
EIP-4844: Proto-Danksharding (Ora)
Activated in March 2024 with the Dencun upgrade, EIP-4844 introduced blob transactions, a data type designed for rollup data. Before it, L2s posted their compressed transaction data as calldata on Ethereum L1, competing with ordinary transactions for the same block space. Blobs have their own fee market and their own capacity, and they are pruned after a few weeks, which makes the data much cheaper to post.
The effect on L2 fees was immediate: rollup transaction costs fell sharply and sub-cent transactions became common. EIP-4844 set an initial target of three blobs and a maximum of six per block; later upgrades have raised those counts. The current values are in the Ethereum roadmap documentation (see Sources).
Danksharding Katoa (Mahere Ara)
Full danksharding aims to expand blob capacity far beyond today's counts. Combined with data availability sampling (DAS), it would let validators confirm that data is available without downloading all of it. The result would be far more data space for rollups and a lower fee floor on L2, per the ethereum.org danksharding page.
Full danksharding is a multi-year project. Intermediate steps, such as PeerDAS and step-by-step increases in the blob count, arrive first. Each step lowers the cost of posting rollup data to Ethereum.
Whakawhāiti Pūkete (ERC-4337)
Account abstraction replaces the traditional externally owned account (EOA) with a smart contract wallet that can define its own validation rules. One of the most useful features is gas sponsorship through paymasters: an application or a third party can pay your gas for you. Users can also pay gas in an ERC-20 token instead of holding ETH, per ERC-4337.
This is already live on Ethereum and on several L2s. Some wallets and applications sponsor gas for eligible transactions, and paymaster infrastructure lets any dApp cover gas for its users. The experience feels gasless even though gas is still paid on-chain.
Te Tautoko Hinu me te Whakarāpopoto Ake
The longer-term goal is that users never think about gas at all. Chain abstraction frameworks aim to hide the underlying blockchain: you interact with an application, and the infrastructure picks a cheap chain, sponsors the gas and moves assets behind the scenes.
Several teams are building this layer, and combined with paymasters the intended end state looks like an ordinary web application: you click a button, the transaction happens on-chain, and you never see a gas prompt. This is still work in progress; treat any specific product claim with care.
Ngā Pātai Auau
He aha ngā utu hinu i te crypto?
He aha te pikinga o ngā utu hinu Ethereum?
Me pēhea au e tirotiro i ngā utu hinu o nāianei?
Āhea ka iti rawa ngā utu hinu?
Ka utu ngā whatunga Raupapa 2 i ngā utu hinu?
Ka taea e au te karo i ngā utu hinu katoa?
Haere tonu ki te ako
Tirohia ētahi atu aratohu mō ngā ariā DeFi, ngā tikanga, me ngā rautaki whiwhi moni.
CoW Swap Guide
Trade tokens without paying gas yourself, with MEV protection. Learn how batch auctions and solver competition work.
Pānui AratohuHe aha te APY i roto i te crypto?
Mārama ki te hua tau ā-rau, te auau o te whakakotahi, me te pehea e whakataurite ai i ngā hua DeFi i te āhua tūturu.
Pānui AratohuTirohia Ngā Ārahi Katoa
Explore the full Coinstancy Academy: guides, glossary and articles covering DeFi from beginner to advanced.
Haere ki te Whare WānangaKaua e ngaro te hua ki ngā utu hinu
Coinstancy takes gas management off your plate. Earn 7.50% APY on USDC with Dollar Savings. Interest accrues every second and is automatically reinvested. No lock-up, withdraw anytime. No bridging, no compounding transactions, no gas calculations.
Tīmata te whiwhi moni i te CoinstancyNgā puna me ngā pānuitanga atu anō
Ka whakawhirinaki ngā tatauranga me ngā kerēme o tēnei whārangi ki ngā tuhinga kei raro nei. Ka neke ngā tatauranga pā ki te wā (reiti, hua, utu, raraunga mākete): tirohia te uara ora i te puna i mua i te mahi.
- Ethereum.org, Gas and feesethereum.org
Definition of gas, the 21,000 gas cost of a simple ETH transfer, gwei, gas limit, refunds of unused gas and the base fee plus priority fee model.
- EIP-1559: Fee market change for ETH 1.0 chaineips.ethereum.org
The base fee mechanism: how it targets half-full blocks, adjusts by at most 12.5% per block and is burned rather than paid to validators.
- EIP-4844: Shard Blob Transactionseips.ethereum.org
Blob transactions, the separate blob fee market and the initial target and maximum blob counts per block.
- Ethereum.org, Dankshardingethereum.org
How proto-danksharding (EIP-4844) reduced rollup data costs and what full danksharding and data availability sampling are meant to add.
- Ethereum.org, Layer 2ethereum.org
What rollups are, how they inherit Ethereum security and why their fees are lower than on Ethereum mainnet.
- Etherscan Gas Trackeretherscan.io
Live low, average and high gas prices in gwei, plus the current block gas limit and historical charts.
- Arbitrum documentationdocs.arbitrum.io
How Arbitrum fees combine an L2 execution component and an L1 data component.
- Optimism documentationdocs.optimism.io
Fee structure of OP Stack chains such as Optimism and Base: execution gas plus L1 data fee.
- ERC-4337: Account Abstraction Using Alt Mempooleips.ethereum.org
Smart contract accounts, paymasters that sponsor gas and paying gas in ERC-20 tokens.
- EIP-2612: Permit Extension for EIP-20 Signed Approvalseips.ethereum.org
How a signed permit replaces a separate on-chain approval transaction.
I arotakea whakamutunga: Mahuru 2026. Ka whakatuwheratia ngā hononga o waho ki tētahi tihopa hou; kāore a Coinstancy e whai kawenga mō ō rātou ihirangi.
Whiwhi hua kāore he mamae huka
Deposit USDC in Coinstancy Dollar Savings and earn 7.50% APY. Interest accrues every second and is automatically reinvested. No gas fees to manage, no lock-up, withdraw anytime.