finalizeKeyRecoveryExecution
finalizeKeyRecoveryExecution(
provider,originalMxeProgramId,backupMxeProgramId,clusterOffset,keyRecoveryFinalOffset):Promise<string>
Finalizes key recovery execution after the submission threshold is met. This queues the key_recovery_final MPC computation on the backup cluster.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | The Anchor provider to use for transactions. |
originalMxeProgramId | PublicKey | The public key of the original MXE program being recovered. |
backupMxeProgramId | PublicKey | The public key of the backup MXE program. |
clusterOffset | number | The cluster offset where the backup MXE is deployed. |
keyRecoveryFinalOffset | BN | The computation offset for the key_recovery_final computation. |
Returns
Promise<string>
The transaction signature.