referrerpolicy=no-referrer-when-downgrade

Function pallet_recovery::pallet::dispatchables::initiate_recovery

source ·
pub fn initiate_recovery<T: Config>(
    account: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Initiate the process for recovering a recoverable account.

Payment: RecoveryDeposit balance will be reserved for initiating the recovery process. This deposit will always be repatriated to the account trying to be recovered. See close_recovery.

The dispatch origin for this call must be Signed.

Parameters:

  • account: The lost account that you want to recover. This account needs to be recoverable (i.e. have a recovery configuration).

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::initiate_recovery.