Skip to main content
This page has been updated for Wallets SDK V1. If you are using the previous version, see the previous version docs or the V1 migration guide.
BiometricRequestHandler = (action) => Promise<void>
Defined in: packages/wallets/src/utils/device-signers/IframeDeviceSignerKeyStorage.ts:32 Callback invoked before a WebAuthn ceremony to obtain user activation. Implementations should show a UI prompt and resolve when the user interacts (e.g. clicks a button).

Parameters

ParameterTypeDescription
action"createCredential" | "sign"The biometric action being requested: "createCredential" for wallet creation, "sign" for transaction signing.

Returns

Promise<void>