WalletNamespace class
Signature:
export declare class WalletNamespace
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(eniblock) | Constructs a new instance of the WalletNamespace class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
eniblock | readonly | Eniblock | |
wallet? | Wallet | (Optional) |
Methods
Method | Modifiers | Description |
---|---|---|
clearDriveAppData() | ||
destroy() | Permanently destroy on wallet and all its associated accounts from the Storage configured in the Eniblock class. Everything associated to this account will be lost forever. Do not use this method unless you know what you are doing.
| |
get() | Retrieve it from the Storage configured in the Eniblock class.
| |
getWalletMetadata(retryIfNotFound, retry, waitDuration) | Retrieve wallet metadata if it exists | |
instantiate() | Create a Wallet or automatically retrieve it from the Storage configured in the Eniblock class.
|