Converts a mnemonic to an Avalanche account.
The mnemonic to convert.
The options for the account. MnemonicToAccountOptions
The Avalanche account AvalancheAccount.
import { memonicsToAvalancheAccount } from "@avalanche-sdk/client/accounts";const account = memonicsToAvalancheAccount("test test t.." Copy
import { memonicsToAvalancheAccount } from "@avalanche-sdk/client/accounts";const account = memonicsToAvalancheAccount("test test t.."
Converts a mnemonic to an Avalanche account.