@arcium-hq/clientFunctions
finalizeKeyRecoveryExecution
finalizeKeyRecoveryExecution(
provider,originalMxeProgramId,backupMxeProgramId,clusterOffset,keyRecoveryFinalizeOffset,confirmOptions?):Promise<string>
Finalize key recovery execution after the submission threshold is met. This queues the key_recovery_finalize MPC computation on the backup cluster.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | Anchor provider to use for transactions. |
originalMxeProgramId | PublicKey | Public key of the original MXE program being recovered. |
backupMxeProgramId | PublicKey | Public key of the backup MXE program. |
clusterOffset | number | Cluster offset where the backup MXE is deployed. |
keyRecoveryFinalizeOffset | BN | Computation offset for the key_recovery_finalize computation. |
confirmOptions? | ConfirmOptions | Transaction confirmation options. |
Returns
Promise<string>
Transaction signature.