Skip to main content
Once recovery is configured, the runtime flow is straightforward.

Start recovery

The guardian starts a recovery with:
TypeScript

Cancel recovery

The current wallet authority cancels a pending recovery with:
TypeScript

Execute recovery

After the configured delay, the guardian executes recovery with:
TypeScript

Signing model

  • the guardian signs start
  • the current wallet authority signs cancel
  • the guardian signs execute

Policy metadata

The SDK can also read policy metadata through swig.wallets.getPolicy(policyId). That is where it finds fields like:
  • guardianEnabled / guardian_enabled
  • guardianAuthority / guardian_authority
  • guardianDelaySeconds / guardian_delay_seconds
Most apps should still rely on created.recoverySetup as the setup source of truth and treat policy reads as supporting metadata.