@fuel-ts/account v0.94.2 • Docs
Vault
<MnemonicVaultOptions
> new MnemonicVault(
options
):MnemonicVault
• options: MnemonicVaultOptions
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:24
numberOfAccounts:
number
=0
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:22
pathKey:
string
='{}'
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:20
rootPath:
string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:21
readonly
static
type:"mnemonic"
='mnemonic'
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:17
addAccount():
object
object
address:
AbstractAddress
=wallet.address
publicKey:
string
=wallet.publicKey
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:63
exportAccount(
address
):string
• address: string
| AbstractAddress
string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:73
getAccounts():
object
[]
object
[]
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:46
getDerivePath(
index
):string
• index: number
string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:31
getWallet(
address
):WalletUnlocked
• address: string
| AbstractAddress
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:91
serialize():
MnemonicVaultOptions
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:38