Skip to main content

WalletNamespace class

Signature:

export declare class WalletNamespace

Constructors

ConstructorModifiersDescription
(constructor)(eniblock)Constructs a new instance of the WalletNamespace class

Properties

PropertyModifiersTypeDescription
eniblockreadonlyEniblock
wallet?Wallet(Optional)

Methods

MethodModifiersDescription
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.