How do I verify an address is belong to a wallet?

I created multiple addresses with CLI, Sometimes I need to confirm if an address belongs to this wallet. Could this be done and what should I do?

 chia wallet get_address -n

You can use the key derivation tool, documented here:

For example, I think this is the specific command you are looking for:
chia keys derive search -t address -l 100 <xch address>

This will search the first 100 addresses in the wallet for a match.

1 Like