Class: Vault<TOptions>
@fuel-ts/account.Vault
Type parameters
Name | Type |
---|---|
TOptions | { secret? : string } |
Implemented by
Constructors
constructor
• new Vault<TOptions
>(_options
): Vault
<TOptions
>
Type parameters
Name | Type |
---|---|
TOptions | { secret? : string } |
Parameters
Name | Type |
---|---|
_options | TOptions |
Returns
Vault
<TOptions
>
Defined in
packages/account/src/wallet-manager/types.ts:37
Properties
type
▪ Static
Readonly
type: string
Defined in
packages/account/src/wallet-manager/types.ts:35
Methods
addAccount
▸ addAccount(): WalletManagerAccount
Returns
Defined in
packages/account/src/wallet-manager/types.ts:49
exportAccount
▸ exportAccount(_address
): string
Parameters
Name | Type |
---|---|
_address | AbstractAddress |
Returns
string
Defined in
packages/account/src/wallet-manager/types.ts:53
getAccounts
▸ getAccounts(): WalletManagerAccount
[]
Returns
Defined in
packages/account/src/wallet-manager/types.ts:45
getWallet
▸ getWallet(_address
): WalletUnlocked
Parameters
Name | Type |
---|---|
_address | AbstractAddress |
Returns
Defined in
packages/account/src/wallet-manager/types.ts:57
serialize
▸ serialize(): TOptions
Returns
TOptions