Avalanche SDK Client
    Preparing search index...

    Function mnemonicsToAvalancheAccount

    • Converts a mnemonic to an Avalanche account.

      Parameters

      • mnemonics: string

        The mnemonic to convert.

      • options: HDKeyToAccountOptions = {}

        The options for the account. MnemonicToAccountOptions

      Returns AvalancheAccount

      The Avalanche account AvalancheAccount.

      import { mnemonicsToAvalancheAccount } from "@avalanche-sdk/client/accounts";

      const account = mnemonicsToAvalancheAccount("test test t.."