← Academy library

Crypto / Evergreen

An unconfirmed payment can depend on earlier unconfirmed transactions

A Bitcoin transaction can spend an output from a transaction that has not yet confirmed, creating a dependency chain that miners must handle consistently.

THE IDEA TO KEEP

A pending transaction may be part of a dependency graph, so its settlement cannot always be evaluated on its own.

The distinction that matters

A Bitcoin transaction can spend an output from a transaction that has not yet confirmed, creating a dependency chain that miners must handle consistently. Bitcoin transactions consume previously created unspent transaction outputs, commonly called UTXOs, and create new outputs with their own spending conditions. The network does not simply subtract a number from a conventional account. Inputs identify earlier outputs; authorization data satisfies their conditions; outputs define the next allocation.

How the mechanism works

The later transaction cannot become a valid independent history entry without the earlier transaction that creates its input also appearing in the chain. This structure explains change, consolidation, and why a transaction can involve several inputs even when the payment is directed to only one recipient. The referenced outputs must exist and remain unspent, the signatures and scripts must satisfy applicable rules, and the new transaction must not create value beyond its inputs. Wallet software automates much of this construction, but that automation can hide meaningful choices.

A worked situation

Consider this hypothetical situation: A hypothetical wallet spends change from a payment that is still pending, producing a second transaction whose validity relies on the first. The second payment's timing can therefore depend on the earlier transaction's fee, relay behavior, and eligibility as well as on its own fee.

Where interpretation can fail

Inspecting only the final transaction can conceal a stuck ancestor or a conflicting transaction that prevents the expected chain of spending from confirming. Trace unconfirmed ancestors when diagnosing a pending payment, and distinguish package behavior from the rules applying to a single isolated transaction. A pending transaction may be part of a dependency graph, so its settlement cannot always be evaluated on its own.

The wider technical implication

The dependency can extend through several generations, creating a package whose total size and fee differ materially from the last transaction's standalone figures. A high-fee descendant may improve incentives to include a low-fee ancestor, but relay and mining policies impose limits on such chains and packages. If an ancestor is replaced or conflicts with a confirmed transaction, descendants can become unusable because their referenced outputs no longer exist in the recognized history. Diagnosing the final transaction therefore requires reconstructing its ancestry, not merely increasing the last fee field shown by the wallet.

A global perspective

Bitcoin transaction rules are network rules. Merchant acceptance, refunds, accounting treatment, and legal payment finality can depend on separate local agreements or laws.

Sources & further reading

Bitcoin Developer Guide — Transactions ↗Bitcoin Developer Guide — Payment processing ↗

Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.

Make the idea stick.

Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.

What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.

Explore crypto →

KEEP THE CONNECTION

Your next useful question.

Your saved guides →