Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChangeRecoveryAccountOperation

Each account lists another account as their recovery account. The recovery account has the ability to create account_recovery_requests for the account to recover. An account can change their recovery account at any time with a 30 day delay. This delay is to prevent an attacker from changing the recovery account to a malicious account during an attack. These 30 days match the 30 days that an owner authority is valid for recovery purposes.

On account creation the recovery account is set either to the creator of the account (The account that pays the creation fee and is a signer on the transaction) or to the empty string if the account was mined. An account with no recovery has the top voted witness as a recovery account, at the time the recover request is created. Note: This does mean the effective recovery account of an account with no listed recovery account can change at any time as witness vote weights. The top voted witness is explicitly the most trusted witness according to stake.

Hierarchy

Index

Properties

Properties

0

0: "change_recovery_account"

1

1: object

Type declaration

  • account_to_recover: string

    The account that would be recovered in case of compromise.

  • extensions: any[]

    Extensions. Not currently used.

  • new_recovery_account: string

    The account that creates the recover request.

Generated using TypeDoc