Post
Topic
Board Electrum
Merits 1 from 1 user
Re: how to access missing balances at higher indexes
by
nc50lc
on 12/03/2025, 03:13:51 UTC
⭐ Merited by Cricktor (1)
-snip-
You're right, it only checks the 20 addresses I tested out.
I think the xpub-scanner from Ledger HQ can scan these 50k addresses;
Its default is also 20 address index, here's the "gap_limit" in its code: github.com/LedgerHQ/xpub-scan/blob/main/src/configuration/settings.ts#L13
Means if the tool scanned 20 empty addresses in succession, it will stop checking the next.
Sure he can change it to 50,000 but that'll generate unnecessary number of keys.

It will be more efficient if he can skip all those low indexes like what I've suggested above.


but if it's native SegWit, edit it to: m/0'/0
I did a slight edit to this:
"but if it's native SegWit, go to: BIP141 tab, select P2WPKH and edit it to: m/0'/0"