WaasModule class

Module for WaaS (Wallet-as-a-Service) password operations.

Provides methods to unlock password-protected embedded wallets, update wallet passwords, and check the wallet recovery state.

Access via WalletsModule.waas:

final state = await DynamicSDK.instance.wallets.waas.getWalletRecoveryState(wallet);

Constructors

WaasModule(MessageTransport messageTransport)
Creates a new WaasModule instance.

Properties

delegation DelegationModule
Delegation module for managing delegated access to wallets.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requestChannel RequestChannel
Request channel for sending WaaS requests to WebView.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getWalletRecoveryState(BaseWallet wallet) Future<WalletRecoveryState>
Gets the current recovery state of a wallet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPassword(BaseWallet wallet, {required String newPassword}) Future<void>
Sets a new password for an embedded wallet that doesn't have one yet.
toString() String
A string representation of this object.
inherited
unlockWallet(BaseWallet wallet, {String? password}) Future<void>
Unlocks a password-protected embedded wallet.
updatePassword(BaseWallet wallet, {required String existingPassword, required String newPassword}) Future<void>
Updates the password for an embedded wallet.

Operators

operator ==(Object other) bool
The equality operator.
inherited