To create a passkey-owned account:
import { toWebAuthnAccount } from 'viem/account-abstraction' const passkeyAccount = toWebAuthnAccount({ credential, }) const rhinestoneAccount = await createRhinestoneAccount({ owners: { type: 'passkey', account: passkeyAccount, } rhinestoneApiKey, })