Kotlin Interface
interface CrossmintTEE
abstract val isHandshakeCompleted: Boolean
abstract val isOTPRequired: StateFlow<Boolean>
abstract suspend fun awaitReady()
abstract fun cancelOTP()
abstract suspend fun performHandshake(): Result<Unit, TEEError>
abstract fun provideOTP(code: String)
abstract suspend fun signTransaction(messageBytes: String, keyType: String, encoding: String, otpAuth: String): Result<String, TEEError>
Was this page helpful?