THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Can Bitcoin scantxoutset Recover Full Wallet Transaction History?

permalink THAMER
#bitcoin#scantxoutset#utxo#wallet-history

No. scantxoutset searches the current confirmed UTXO set for outputs matching supplied descriptors. It does not search all historical transactions.

Why are earlier payments missing?

Suppose a wallet received 50,000 satoshis and later spent that output completely. The original output no longer belongs to the current UTXO set. A scan may discover remaining change outputs if their scripts are included, but it cannot reconstruct the earlier payment solely from those outputs.

What should a recovery application use instead?

Use a wallet rescan with the correct descriptors and historical block data, or a compact-filter-assisted search followed by transaction verification. A pruned node may lack blocks needed for complete historical recovery.

Is a UTXO scan still useful?

Yes. It can discover currently unspent confirmed outputs without reconstructing every historical transaction. Record the scan's block anchor and reconcile mempool spends before treating the results as available funds. The scan does not restore signing keys or automatically import a wallet.

Primary references

https://bitcoincore.org/en/doc/28.0.0/rpc/blockchain/scantxoutset/

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects