Sending BTC using Seed Hex or mnemonic I’m interested in sending BTC from wallet to another and probably automate it through some libraries.

I have a question: if I have a seed hex or 12 words I can generate all my wallets (addresses, private keys) with BIP39 mnemonic tool.

How could I know what of external wallets (private keys) I should use to send btc using libraries assuming it usually changes?

How could I basically send BTC to some wallet having only seed hex or 12 words?
How could I know what of external wallets (private keys) I should use to send btc using libraries assuming it usually changes?


You can't without scanning the entire blockchain to find out what addresses have been used before.


  How could I basically send BTC to some wallet having only seed hex or 12 words?


You can't without scanning the entire blockchain to find the UTXOs that you can spend.



In general, a mnemonic phrase or a seed is not enough to be able to send Bitcoin to someone else. You need to generate keys and scan the entire blockchain to find UTXOs that you can spend. This is why many wallets store more than just the seed phrase in their wallet files.