Stored Credential
A stored smart account credential with deployment and usage metadata.
Represents a WebAuthn credential (passkey) associated with a smart account. Tracks the credential's deployment status, contract address, and usage history.
Example:
val credential = StoredCredential(
credentialId = "base64url-encoded-id",
publicKey = secp256r1PublicKeyData,
contractId = "CBCD1234...",
deploymentStatus = CredentialDeploymentStatus.PENDING,
isPrimary = true
)Constructors
Properties
The smart account contract address (C-address).
The WebAuthn credential ID (Base64URL encoded).
Error message if deployment failed.
The current deployment status of the smart account contract.
Authenticator device type.
Timestamp of when this credential was last used for signing.
Authenticator transport hints indicating how the browser can communicate with the authenticator (e.g., "usb", "nfc", "ble", "internal").
Functions
Applies the given updates to this credential, returning a new instance. Fields in updates that are null are left unchanged.