Passkey Account
class PasskeyAccount(credentialPublicKey: Secp256r1PublicKey, signer: WebAuthnSigner, address: AccountAddressInput? = null) : TransactionSigner
A transaction signer backed by an application-owned P-256 WebAuthn credential.
Constructors
Link copied to clipboard
constructor(credentialPublicKey: Secp256r1PublicKey, signer: WebAuthnSigner, address: AccountAddressInput? = null)
Functions
Link copied to clipboard
Signs arbitrary bytes without imposing a display encoding.
Link copied to clipboard
Signs UTF-8 text. Wallet implementations may present this text to the user.
Link copied to clipboard
open suspend override fun signTransaction(transaction: UnsignedTransaction): AptosResult<AccountAuthenticator>
Signs the correct domain-separated message for transaction.
Link copied to clipboard
Verifies signature against arbitrary bytes using this signer's public key.