Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / recoverPasskey

Function: recoverPasskey()

recoverPasskey(opts): Promise<readonly RecoverPasskeyMatch[]>

Defined in: packages/core/src/recover.ts:60

Drive a WebAuthn discoverable-credential ceremony and resolve any wallet contracts that enrolled the returned credentialId.

Returns an empty array if the user cancels OR no on-chain enrollment is found within maxLookbackLedgers.

Parameters

opts

RecoverPasskeyOptions

Returns

Promise<readonly RecoverPasskeyMatch[]>

MIT — SCF-43 RFP submission (2026). Status: pre-1.0.