availableRecoveryMethods

open suspend override fun availableRecoveryMethods(chainId: String?): List<BackupMethods>

Gets the available recovery methods for a given chain ID.

If no chain ID is provided, it defaults to getting recovery methods for PortalNamespace.EIP155.

Return

A list of BackupMethods available for recovery.

Parameters

chainId

The optional chain ID to check for. If null, it checks for PortalNamespace.EIP155.

Throws

if the client is not set.


open suspend override fun availableRecoveryMethods(namespace: PortalNamespace): List<BackupMethods>

Gets the available recovery methods for a given PortalNamespace.

This function retrieves the available backup methods for a wallet in the specified namespace.

Return

A list of BackupMethods available for recovery.

Parameters

namespace

The PortalNamespace to check for.

Throws

if the client is not set.