Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Interface
interface CrossmintWallets
Functions
addSigner
abstract suspend fun addSigner(signer: DelegatedSigner, chain: Chain): Result<Unit, WalletError>
Adds a delegated signer to the current wallet on the given chain. Supported types: Email, Phone, ExternalWallet, Locator.
createWallet
abstract suspend fun createWallet(chain: Chain, recovery: SignerType, signers: List<DelegatedSigner> = emptyList(), owner: String? = null, alias: String? = null, deviceSigner: Boolean = false): Result<Wallet, WalletError>
Creates a new wallet on the specified chain with the given signer.
getDeviceSignerSecurityLevel
abstract suspend fun getDeviceSignerSecurityLevel(walletAddress: String): String?
Returns the hardware security level of the device signer key for the given wallet address. Possible values: “StrongBox”, “TEE”, “Hardware-backed”, “Software”, or null if not available.
getWallet
abstract suspend fun getWallet(chain: Chain, deviceSigner: Boolean = false): Result<Wallet, WalletError>
Fetches the wallet for the current user on the given chain.
removeSigner
abstract suspend fun removeSigner(signer: DelegatedSigner, chain: Chain): Result<Unit, WalletError>
Removes a delegated signer from the current wallet on the given chain. Supported types: Email, Phone, ExternalWallet, Locator.