addPasskey

Handles the creation of authenticators using WebAuthn attestation and the provided options. Requires the user to be authenticated.

Import

1import { BaseSignerClient } from "@account-kit/signer";

Parameters

options

CredentialCreationOptions The options used to create the WebAuthn attestation

Returns

Promise<string[]> A promise that resolves to an array of authenticator IDs