Launch app
Cover: What is a transaction? Nonces, gas, and confirmation

What is a transaction? Nonces, gas, and confirmation

What is a transaction?

Every action on chain is a transaction. What the nonce, gas and confirmation actually mean, so a pending swap stops being a mystery.

BlazePhoenix Engineering · article updated 2026-08-05 · site dataset through 2026-12-02 · 4 min · written from the deployed bytecode

At a glance
LevelBeginner
Reading time4 min
Sections2
Updated2026-08-05

By Mitra (@Sigmacrit) — anonymous developer of the BlazePhoenix protocol. The code is the résumé.

Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص

English — A transaction is a signed instruction from your wallet to the chain, carrying a nonce that orders your transactions and a gas budget that pays for computation; it waits in the mempool until a block includes it and hardens with each confirmation. A stuck transaction is usually a too-low fee or a nonce gap, and a failed one still costs gas, because the network did the work of trying.

Português — Uma transação é uma instrução assinada da tua carteira para a chain, com um nonce que ordena as tuas transações e um orçamento de gás que paga a computação; espera na mempool até um bloco a incluir e endurece com cada confirmação. Uma transação presa é normalmente fee demasiado baixa ou um buraco no nonce, e uma falhada continua a custar gás, porque a rede fez o trabalho de tentar.

Español — Una transacción es una instrucción firmada de tu cartera a la cadena, con un nonce que ordena tus transacciones y un presupuesto de gas que paga la computación; espera en la mempool hasta que un bloque la incluye y se endurece con cada confirmación. Una transacción atascada suele ser una comisión demasiado baja o un hueco de nonce, y una fallida sigue costando gas, porque la red hizo el trabajo de intentarlo.

Français — Une transaction est une instruction signée de votre portefeuille vers la chaîne, portant un nonce qui ordonne vos transactions et un budget de gaz qui paie le calcul ; elle attend dans la mempool qu'un bloc l'inclue et se durcit à chaque confirmation. Une transaction bloquée vient généralement d'des frais trop bas ou d'un trou de nonce, et une transaction échouée coûte quand même du gaz, car le réseau a fait le travail d'essayer.

Deutsch — Eine Transaktion ist eine signierte Anweisung deiner Wallet an die Chain, mit einer Nonce, die deine Transaktionen ordnet, und einem Gas-Budget, das die Berechnung bezahlt; sie wartet im Mempool, bis ein Block sie aufnimmt, und härtet mit jeder Bestätigung. Eine hängende Transaktion ist meist eine zu niedrige Gebühr oder eine Nonce-Lücke, und eine fehlgeschlagene kostet trotzdem Gas, weil das Netzwerk die Arbeit des Versuchens geleistet hat.

Русский — Транзакция — подписанная инструкция от кошелька к цепи, несущая nonce, упорядочивающий ваши транзакции, и бюджет газа, оплачивающий вычисления; она ждёт в мемпуле, пока блок её не включит, и твердеет с каждым подтверждением. Зависшая транзакция — обычно слишком низкая комиссия или разрыв в nonce, а неудавшаяся всё равно стоит газа: сеть выполнила работу попытки.

Türkçe — İşlem, cüzdanından zincire giden imzalı bir talimattır; işlemlerini sıralayan bir nonce ve hesaplamayı ödeyen bir gaz bütçesi taşır. Bir blok onu içerene dek mempool'da bekler ve her onayla sağlamlaşır. Takılan işlem genelde çok düşük ücret veya nonce boşluğudur; başarısız işlem yine de gaz yakar, çünkü ağ deneme işini yapmıştır.

العربية — المعاملة تعليمة موقّعة من محفظتك إلى السلسلة، تحمل nonce يرتّب معاملاتك وميزانية غاز تدفع ثمن الحوسبة؛ تنتظر في المذكّرة حتى تضمّها كتلة وتتصلّب مع كل تأكيد. المعاملة العالقة سببها عادة رسم منخفض جداً أو فجوة في الـnonce، والفاشلة تكلّف غازاً مع ذلك، لأن الشبكة قامت بعمل المحاولة.

हिन्दी — लेनदेन आपकी वॉलेट से चेन को भेजा गया हस्ताक्षरित निर्देश है, जिसमें nonce होता है जो आपके लेनदेनों का क्रम तय करता है और गैस-बजट जो गणना का भुगतान करता है; यह मेमपूल में तब तक प्रतीक्षा करता है जब तक कोई ब्लॉक उसे शामिल न कर ले, और हर पुष्टि के साथ पक्का होता जाता है। अटका लेनदेन आमतौर पर बहुत कम फ़ीस या nonce की खाई है, और असफल लेनदेन पर भी गैस लगती है, क्योंकि नेटवर्क ने कोशिश का काम किया।

日本語 — トランザクションはウォレットからチェーンへの署名済み命令で、順序を定めるnonceと計算費用を払うガス予算を携えています。ブロックに取り込まれるまでメンプールで待ち、確認が積まれるごとに固まります。詰まる原因はたいてい低すぎる手数料かnonceの欠番で、失敗してもガスはかかります。ネットワークが試行という仕事をしたからです。

中文 — 交易是钱包发给链的签名指令,携带为你的交易排序的 nonce 和支付计算的 gas 预算;它在内存池等待被区块打包,随每次确认而愈发不可逆。卡住的交易通常是手续费过低或 nonce 断档,而失败的交易仍要付 gas——因为网络确实做了尝试的工作。

한국어 — 트랜잭션은 지갑이 체인에 보내는 서명된 명령으로, 트랜잭션 순서를 정하는 논스와 연산 비용을 내는 가스 예산을 담고 있습니다. 블록에 포함될 때까지 멤풀에서 기다리고, 컨펌이 쌓일수록 굳어집니다. 멈춘 트랜잭션은 대개 너무 낮은 수수료나 논스 공백 때문이며, 실패한 트랜잭션도 가스는 소모됩니다 — 네트워크가 시도라는 일을 했기 때문입니다.

Bahasa Indonesia — Transaksi adalah instruksi bertanda tangan dari dompetmu ke chain, membawa nonce yang mengurutkan transaksimu dan anggaran gas yang membayar komputasi; ia menunggu di mempool sampai sebuah blok memuatnya dan mengeras dengan setiap konfirmasi. Transaksi macet biasanya fee terlalu rendah atau celah nonce, dan yang gagal tetap memakan gas, karena jaringan sudah melakukan pekerjaan mencobanya.

বাংলা — লেনদেন হলো আপনার ওয়ালেট থেকে চেইনে পাঠানো একটি স্বাক্ষরিত নির্দেশ, যাতে থাকে লেনদেনের ক্রম ঠিক করা nonce আর গণনার মূল্য মেটানো গ্যাস-বাজেট; কোনো ব্লক অন্তর্ভুক্ত না করা পর্যন্ত এটি মেমপুলে অপেক্ষা করে এবং প্রতিটি নিশ্চিতকরণে শক্ত হয়। আটকে যাওয়া লেনদেন সাধারণত খুব কম ফি বা nonce-ফাঁক, আর ব্যর্থ লেনদেনেও গ্যাস খরচ হয়, কারণ নেটওয়ার্ক চেষ্টার কাজটি করেছে।

Filipino — Ang transaksyon ay pinirmahang utos mula sa wallet mo patungo sa chain, may dalang nonce na nag-aayos ng pagkakasunod ng mga transaksyon mo at gas budget na nagbabayad sa komputasyon; naghihintay ito sa mempool hanggang isama ng isang block at tumitibay sa bawat kumpirmasyon. Ang nakabarang transaksyon ay kadalasang masyadong mababang fee o puwang sa nonce, at ang nabigong transaksyon ay may gastos pa ring gas, dahil ginawa ng network ang trabahong subukan ito.

A transaction is a signed instruction from your wallet to the chain: send tokens, call a contract, approve a spend. It carries a nonce, a counter that orders your transactions so none can be replayed or skipped, and a gas budget, the fee you pay for computation. You sign it locally; the network executes it.

Gas is a unit of computation, not a currency. A plain token transfer costs a fixed 21,000 gas, a multi-step swap can run into the hundreds of thousands, and your fee is gas used multiplied by the gas price at that moment. That is why the same action costs dollars on Ethereum mainnet and cents on a Layer 2 like Base: the computation is identical, the price per unit of it is not.

Pending, mined, confirmed

After you sign, the transaction sits in a mempool until a block includes it. Once included it is mined; as more blocks stack on top it becomes progressively harder to reverse, which is confirmation. If a transaction is stuck, it is usually a too-low fee or a nonce gap. A failed transaction still costs gas, because the network did the work of trying.

Do not trust this page — reproduce it

Every claim above is checkable against the chain. Start here:

Send a tiny swap, copy the tx hash, and watch it move from pending to confirmed on basescan.org — the nonce and gas used are shown on the page
Cite this article

Licensed CC BY-NC-ND 4.0: quote and cite it with attribution and a link. Commercial use and derivative versions need written permission from BlazePhoenix; translations are made by BlazePhoenix. Copy a ready-made citation:

BlazePhoenix (2026). What is a transaction? Nonces, gas, and confirmation. BlazePhoenix Engineering. https://blazephoenix.xyz/learn/what-is-a-transaction/
@misc{blazephoenix_what_is_a_transaction,
  title  = {What is a transaction? Nonces, gas, and confirmation},
  author = {BlazePhoenix},
  year   = {2026},
  url    = {https://blazephoenix.xyz/learn/what-is-a-transaction/},
  note   = {Accessed: reproduce the claim with the command above}
}

Writing an answer, a wiki entry or a paper? The claim above is reproducible against the chain before you quote it — which is the only sound basis for citing a technical source at all.

Contracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF).

Related engineering

Next in Start here · 33 / 64
What is finality? When a transaction is truly done ›Finality is the point where a transaction cannot be reversed. Why confirmations matter, what a reorg is, and how Layer 2 finality differs from Ethereum.4 min

Questions, a partnership or a bug to report? Contact us or email contact@blazephoenix.xyz

Go to APP