VerificationManager

object VerificationManager

A class used for verification related tasks, like querying verification status for different wallets or creating verification sessions.

Types

Link copied to clipboard
data class Configuration(val environment: KycDaoEnvironment, val networkConfigurations: Set<NetworkConfig> = emptySet())

Functions

Link copied to clipboard
suspend fun checkVerifiedNetworks(verificationType: VerificationType, walletAddress: String): Map<String, Boolean>
Link copied to clipboard
fun configure(configuration: VerificationManager.Configuration)

A function used to configure the behaviour of the SDK Has to be called exactly once.

Link copied to clipboard
suspend fun createSession(walletAddress: String, walletSession: WalletSession): VerificationSession

Creates a VerificationSession which is used to navigate through the verification flow

Link copied to clipboard
suspend fun hasValidToken(    verificationType: VerificationType,     walletAddress: String,     walletSession: WalletSession): Boolean
suspend fun hasValidToken(    verificationType: VerificationType,     walletAddress: String,     chainID: String): Boolean

Checks on-chain whether the wallet has a valid token for the give verification type