restoreAccount method

Future<Account> restoreAccount(
  1. List<String> words
)

Load an existing account from a 25-word seed phrase.

Throws MnemonicException if there is an invalid mnemonic/seedphrase. Throws AlgorandException if the account cannot be restored.

Implementation

Future<Account> restoreAccount(List<String> words) async {
  return Account.fromSeedPhrase(words);
}