Docs
GitHub
Preparing search index...
The search index is not available
Fuels TS SDK API Documentation
Fuels TS SDK API Documentation
@fuel-ts/account
MnemonicVault
Class MnemonicVault
Implements
Vault
<
MnemonicVaultOptions
>
Index
Constructors
constructor
Properties
number
Of
Accounts
path
Key
root
Path
type
Methods
add
Account
export
Account
get
Accounts
get
Derive
Path
get
Wallet
serialize
Constructors
constructor
new
Mnemonic
Vault
(
options
)
:
MnemonicVault
Parameters
options
:
MnemonicVaultOptions
Returns
MnemonicVault
Properties
number
Of
Accounts
number
Of
Accounts
:
number
= 0
path
Key
path
Key
:
string
= '{}'
root
Path
root
Path
:
string
= ...
Static
Readonly
type
type
:
"mnemonic"
= 'mnemonic'
Methods
add
Account
add
Account
(
)
:
{
address
:
AbstractAddress
;
publicKey
:
string
;
}
Returns
{
address
:
AbstractAddress
;
publicKey
:
string
;
}
address
:
AbstractAddress
public
Key
:
string
export
Account
export
Account
(
address
)
:
string
Parameters
address
:
string
|
AbstractAddress
Returns
string
get
Accounts
get
Accounts
(
)
:
{
address
:
AbstractAddress
;
publicKey
:
string
;
}
[]
Returns
{
address
:
AbstractAddress
;
publicKey
:
string
;
}
[]
get
Derive
Path
get
Derive
Path
(
index
)
:
string
Parameters
index
:
number
Returns
string
get
Wallet
get
Wallet
(
address
)
:
WalletUnlocked
Parameters
address
:
string
|
AbstractAddress
Returns
WalletUnlocked
serialize
serialize
(
)
:
MnemonicVaultOptions
Returns
MnemonicVaultOptions
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
number
Of
Accounts
path
Key
root
Path
type
Methods
add
Account
export
Account
get
Accounts
get
Derive
Path
get
Wallet
serialize
Docs
GitHub
Fuels TS SDK API Documentation
Loading...