Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
MnemonicVault

Icon LinkClass: MnemonicVault

@fuel-ts/account .MnemonicVault

Icon LinkImplements

Icon LinkConstructors

Icon Linkconstructor

new MnemonicVault(options): MnemonicVault

Icon LinkParameters

NameType
optionsMnemonicVaultOptions

Icon LinkReturns

MnemonicVault

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:24 Icon Link

Icon LinkProperties

Icon Link#secret

Private Readonly #secret: string

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:18 Icon Link


Icon LinknumberOfAccounts

numberOfAccounts: number = 0

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:22 Icon Link


Icon LinkpathKey

pathKey: string = '{}'

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:20 Icon Link


Icon LinkrootPath

rootPath: string

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:21 Icon Link


Icon Linktype

Static Readonly type: "mnemonic"

Icon LinkImplementation of

Vault .type

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:17 Icon Link

Icon LinkMethods

Icon LinkaddAccount

addAccount(): Object

Icon LinkReturns

Object

NameType
addressAbstractAddress
publicKeystring

Icon LinkImplementation of

Vault .addAccount

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:63 Icon Link


Icon LinkexportAccount

exportAccount(address): string

Icon LinkParameters

NameType
addressstring | AbstractAddress

Icon LinkReturns

string

Icon LinkImplementation of

Vault .exportAccount

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:73 Icon Link


Icon LinkgetAccounts

getAccounts(): { address: AbstractAddress = wallet.address; publicKey: string = wallet.publicKey }[]

Icon LinkReturns

{ address: AbstractAddress = wallet.address; publicKey: string = wallet.publicKey }[]

Icon LinkImplementation of

Vault .getAccounts

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:46 Icon Link


Icon LinkgetDerivePath

getDerivePath(index): string

Icon LinkParameters

NameType
indexnumber

Icon LinkReturns

string

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:31 Icon Link


Icon LinkgetWallet

getWallet(address): WalletUnlocked

Icon LinkParameters

NameType
addressstring | AbstractAddress

Icon LinkReturns

WalletUnlocked

Icon LinkImplementation of

Vault .getWallet

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:91 Icon Link


Icon Linkserialize

serialize(): MnemonicVaultOptions

Icon LinkReturns

MnemonicVaultOptions

Icon LinkImplementation of

Vault .serialize

Icon LinkDefined in

packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:38 Icon Link