Skip to content

Documentation / expo / useSetEmbeddedWalletRecovery

Function: useSetEmbeddedWalletRecovery()

useSetEmbeddedWalletRecovery(): UseSetEmbeddedWalletRecovery

Hook to recover an embedded wallet. It uses the primary wallet of the user for a shared source of recovery.

It only supports the user-passcode recovery method.

Returns

UseSetEmbeddedWalletRecovery

An object with a setRecovery method that allows you to update the recovery method of the embedded wallet.