Arcium LogoArcium TS SDK Docs

finalizeKeyRecoveryExecution

finalizeKeyRecoveryExecution(provider, originalMxeProgramId, backupMxeProgramId, clusterOffset, keyRecoveryFinalizeOffset, confirmOptions?): Promise<string>

Finalizes key recovery execution after the submission threshold is met. This queues the key_recovery_finalize MPC computation on the backup cluster.

Parameters

ParameterTypeDescription
providerAnchorProviderThe Anchor provider to use for transactions.
originalMxeProgramIdPublicKeyThe public key of the original MXE program being recovered.
backupMxeProgramIdPublicKeyThe public key of the backup MXE program.
clusterOffsetnumberThe cluster offset where the backup MXE is deployed.
keyRecoveryFinalizeOffsetBNThe computation offset for the key_recovery_finalize computation.
confirmOptions?ConfirmOptions-

Returns

Promise<string>

The transaction signature.

On this page