← Academy library

Crypto / Evergreen

Account discovery can miss addresses beyond a gap

Some deterministic wallets stop searching a branch after a configured sequence of unused addresses, using a gap limit to keep discovery practical.

THE IDEA TO KEEP

Key derivation defines possible addresses; account discovery determines which of those addresses the application actually examines.

The distinction that matters

Some deterministic wallets stop searching a branch after a configured sequence of unused addresses, using a gap limit to keep discovery practical. Wallet standards organize public and private keys through derivation and recovery conventions: they derive multiple keys, encode recovery information, and organize accounts. The exact format matters. A recovery phrase, an extended public key, an ordinary address, and an application password are not interchangeable.

How the mechanism works

This search convention can cause a restored wallet to overlook later-used addresses when an unusually large run of earlier addresses was generated but never paid. Software may accept a valid-looking input while deriving a different set of addresses. This is why recovery failures require attention to both the cryptographic material and the conventions used by the original wallet. A deterministic wallet can derive many child keys from a single root, reducing the number of independent secrets that must be backed up. That convenience also concentrates authority: exposure of the root can expose an entire family of accounts.

A worked situation

Consider this hypothetical situation: A hypothetical merchant generates many unpaid invoices, then receives payment to an address beyond the recovery application's default discovery window. The blockchain payment remains valid, but the restored interface may not find it until discovery covers the relevant part of the branch.

Where interpretation can fail

An apparent zero balance can therefore reflect incomplete search rather than missing keys, though other mismatches can produce the same visual symptom. Compare known invoice addresses and the wallet's account-discovery rules before concluding that a successful seed import located all historical activity. Key derivation defines possible addresses; account discovery determines which of those addresses the application actually examines.

The wider technical implication

Gap limits are a search-efficiency convention, not a limit on how many addresses the seed can derive. A wallet can generate far beyond the range another application initially scans. Merchant systems that create addresses for many unpaid invoices are a natural example of how a large unused stretch can arise without anything malicious occurring. Recovery tools may allow a wider scan, but that can increase time and data demands. Known historical addresses and account branches make the search more targeted. The lesson is to preserve account-discovery context along with the secret, while keeping the secret itself confidential.

A global perspective

Wallet standards are technical conventions used internationally. Local inheritance, custody, and evidence requirements can add obligations beyond successful cryptographic recovery.

Sources & further reading

Bitcoin Developer Guide — Wallets ↗Ethereum.org — Accounts ↗

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 →