SmartAccountSignature

Base sealed class for smart account signature types.

Smart accounts support multiple signature types for transaction authorization:

Each signature type can be converted to a Soroban SCVal representation that the smart account contract can verify.

Example usage:

val signature = WebAuthnSignature(
authenticatorData = authenticatorDataBytes,
clientData = clientDataBytes,
signature = signatureBytes
)
val scVal = signature.toScVal()

Inheritors

Functions

Link copied to clipboard
abstract fun toScVal(): SCValXdr

Converts this signature to its ScVal representation.