What is a transaction? Nonces, gas, and confirmation

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 · updated 2026-08-05 · 4 min · written from the deployed bytecode

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

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.

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 4.0 — quote, translate and reuse freely, including commercially, with attribution and a link. 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).

Share this article · join the discussion

Related engineering