Gas fees, explained: what you actually pay for and how L2s made it cheap
BlazePhoenix Engineering · updated 2026-07-18 · 4 min · written from the deployed bytecode
Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص
English — Gas is the metered cost of computation — complexity times congestion — and a failed transaction still pays for the work. L2s like Base batch thousands of transactions, cutting the same swap from dollars to fractions of a cent.
Português — Gas é o custo medido da computação — complexidade vezes congestão — e uma transação falhada paga o trabalho na mesma. L2s como a Base agrupam milhares de transações, cortando o mesmo swap de dólares para frações de cêntimo.
Español — El gas es el costo medido de la computación — complejidad por congestión — y una transacción fallida igual paga el trabajo. Las L2 como Base agrupan miles de transacciones, reduciendo el mismo swap de dólares a fracciones de centavo.
Français — Le gaz est le coût mesuré du calcul — complexité fois congestion — et une transaction échouée paie quand même le travail. Les L2 comme Base regroupent des milliers de transactions, ramenant le même swap de dollars à des fractions de centime.
Deutsch — Gas ist der gemessene Preis der Berechnung — Komplexität mal Auslastung — und eine fehlgeschlagene Transaktion bezahlt die Arbeit trotzdem. L2s wie Base bündeln Tausende Transaktionen und senken denselben Swap von Dollars auf Centbruchteile.
Русский — Газ — это измеренная стоимость вычислений: сложность на загруженность, и неудачная транзакция всё равно оплачивает работу. L2 вроде Base пакуют тысячи транзакций, снижая тот же своп с долларов до долей цента.
Türkçe — Gas, hesaplamanın ölçülü bedelidir — karmaşıklık çarpı yoğunluk — ve başarısız işlem yine de emeğin parasını öder. Base gibi L2'ler binlerce işlemi paketleyerek aynı takası dolarlardan sent kesirlerine indirir.
العربية — الغاز هو كلفة الحوسبة المقاسة — التعقيد ضرب الازدحام — والمعاملة الفاشلة تدفع ثمن العمل أيضاً. تجمع شبكات الطبقة الثانية مثل Base آلاف المعاملات فتخفض المبادلة نفسها من دولارات إلى أجزاء من السنت.
हिन्दी — गैस गणना की मापी लागत है — जटिलता गुणा भीड़ — और विफल ट्रांज़ैक्शन भी काम का भुगतान करती है। Base जैसे L2 हज़ारों ट्रांज़ैक्शन बैच करके वही स्वैप डॉलर से सेंट के अंश तक घटा देते हैं।
日本語 — ガスは計算の従量課金です。複雑さ×混雑度で決まり、失敗したトランザクションでも作業代は払います。BaseなどのL2は数千の取引をまとめ、同じスワップをドル単位からセント未満に下げました。
中文 — Gas 是计算的计量成本——复杂度乘以拥堵度——失败的交易同样要为工作付费。Base 等 L2 将数千笔交易打包,把同样的兑换从几美元降到几分之一美分。
한국어 — 가스는 계산의 계량 비용입니다. 복잡도 곱하기 혼잡도이며, 실패한 트랜잭션도 작업 비용을 냅니다. Base 같은 L2는 수천 건을 묶어 같은 스왑을 달러에서 센트 이하로 낮췄습니다.
Bahasa Indonesia — Gas adalah biaya terukur komputasi — kompleksitas kali kemacetan — dan transaksi gagal tetap membayar pekerjaannya. L2 seperti Base mengelompokkan ribuan transaksi, memangkas swap yang sama dari dolar ke pecahan sen.
বাংলা — গ্যাস হলো গণনার পরিমাপকৃত খরচ — জটিলতা গুণ ভিড় — এবং ব্যর্থ লেনদেনও কাজের দাম দেয়। Base-এর মতো L2 হাজারো লেনদেন ব্যাচ করে একই সোয়াপকে ডলার থেকে সেন্টের ভগ্নাংশে নামায়।
Filipino — Ang gas ay sinusukat na halaga ng computation — complexity times congestion — at ang bigong transaksyon ay nagbabayad pa rin sa trabaho. Ang mga L2 tulad ng Base ay nagbabatch ng libu-libong transaksyon, binababa ang parehong swap mula dolyar hanggang praksyon ng sentimo.
Gas is the metered cost of computation: every action a blockchain performs — moving tokens, running a swap — consumes processing work, and gas is how you pay for your share. Two things set your bill: how COMPLEX your action is (a simple transfer is cheap, a five-pool routed swap costs more), and how BUSY the network is (fees are an auction; congestion raises the price).
The part that surprises everyone once: a FAILED transaction still costs gas. The network did the work of processing your attempt; the fee pays for the work, not the outcome. This is exactly why refusing a bad trade BEFORE it executes matters — a quote that returns "no route" costs you nothing, while an execution that fails or slips costs you gas AND losses.
Why Layer 2 changed the equation
Layer-2 networks (Base, Optimism, Arbitrum) batch thousands of transactions and settle them on Ethereum together, splitting the cost. The same swap that costs dollars on Ethereum mainnet costs cents — often fractions of a cent — on an L2. That is not a discount trick; it is a different architecture.
Cheap gas also changes what is POSSIBLE: computing an entire aggregator quote on-chain (instead of trusting a server) would be a luxury at mainnet prices; on an L2 it costs less than the ad tracker on an average website. That is why the engineering here targets L2s first: verifiability became affordable.
Do not trust this page — reproduce it
Every claim above is checkable against the chain. Start here:
quote any swap on this site and read estGas in the response — then price it: on Base, gas price is typically well under 0.1 gweiContracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF).
Share this article · join the discussion