Account module provides methods to update and verify an account.
This method allows you to update an account.
async update(account: AccountInput, signer: Signer): Promise<Address>
This method allows you to verify an account.
async verify(signer: Signer): Promise<AccountVerificationStatus>
Each method in the
Account class returns a
update method returns a
Promise that resolves to the address of the updated account. The
verify method returns a
Promise that resolves to the verification status of the account.
account parameter in the
update method is the account data to update. The
signer parameter in both methods is an instance of
Signer used to sign transactions.