Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
MnemonicVault

@fuel-ts/account v0.96.1 Docs


Icon LinkClass: MnemonicVault

Icon LinkImplements

Icon LinkConstructors

Icon Linknew MnemonicVault()

Icon InfoCircle

new MnemonicVault(options): MnemonicVault

Icon LinkParameters

options: MnemonicVaultOptions

Icon LinkReturns

MnemonicVault

Icon LinkDefined in

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

Icon LinkProperties

Icon LinknumberOfAccounts

Icon InfoCircle

numberOfAccounts: number = 0

Icon LinkDefined in

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


Icon LinkpathKey

Icon InfoCircle

pathKey: string = '{}'

Icon LinkDefined in

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


Icon LinkrootPath

Icon InfoCircle

rootPath: string

Icon LinkDefined in

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


Icon Linktype

Icon InfoCircle

readonly static type: "mnemonic" = '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()

Icon InfoCircle

addAccount(): object

Icon LinkReturns

object

Icon Linkaddress

Icon InfoCircle

address: AbstractAddress = wallet.address

Icon LinkpublicKey

Icon InfoCircle

publicKey: string = wallet.publicKey

Icon LinkImplementation of

Vault .addAccount

Icon LinkDefined in

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


Icon LinkexportAccount()

Icon InfoCircle

exportAccount(address): string

Icon LinkParameters

address: string | 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()

Icon InfoCircle

getAccounts(): object[]

Icon LinkReturns

object[]

Icon LinkImplementation of

Vault .getAccounts

Icon LinkDefined in

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


Icon LinkgetDerivePath()

Icon InfoCircle

getDerivePath(index): string

Icon LinkParameters

index: number

Icon LinkReturns

string

Icon LinkDefined in

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


Icon LinkgetWallet()

Icon InfoCircle

getWallet(address): WalletUnlocked

Icon LinkParameters

address: string | 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()

Icon InfoCircle

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