Transactions, Nonces & Fees

How a signed transaction travels from your wallet to a block, and what you actually pay for.

9 min read·4 quiz questions

Lifecycle of a transaction

You build a transaction, the wallet signs it, an RPC node broadcasts it, validators include it in a block, and then confirmations accumulate. Until it is included it lives in the mempool (or leader queue on Solana).

  • Pending: broadcast, not yet in a block.
  • Included: in a block, 1 confirmation.
  • Finalised: economically irreversible (chain-specific depth).

Ordering: nonces vs UTXOs vs blockhash

EVM accounts use an incrementing nonce, so transaction #5 cannot land before #4. Bitcoin and Dogecoin spend specific UTXOs, so double-spends conflict at the input level. Solana transactions embed a recent blockhash and expire after ~150 slots.

What you pay

EVM charges gas units × gas price (base fee + priority tip, EIP-1559). Solana charges a tiny fixed lamport fee per signature plus an optional priority fee per compute unit. UTXO chains charge by transaction size in sats/vByte.

Key terms

Nonce
Per-account counter on EVM chains that fixes transaction order.
Mempool
Waiting room of broadcast-but-unconfirmed transactions.
Gas limit
Maximum compute you authorise; unused gas is refunded on EVM.
Priority fee
Extra payment to get included sooner.

Chapter quiz

4 questions · pass mark 75%
  1. 1. A stuck EVM transaction with nonce 4 blocks nonce 5 because…

  2. 2. How are Bitcoin fees measured?

  3. 3. Why can a Solana transaction expire before it lands?

  4. 4. On EVM, unused gas within the gas limit is…

Answer every question to submit. Progress for transactions-and-fees is saved in this browser.