mint

suspend fun mint(): MintingResult

Mints the previously chosen NFT image

This method can only be called successfully after the user was authorized for minting with a selected image

Return

An URL for an explorer where the minting transaction can be viewed

Parameters

performTransaction

Lambda function which contains the actual minting call, using the WalletSession interface

Throws

com.kycdao.android.sdk.exceptions.SendTransactionException

Throws this if there was an error while sending the minting transaction to the wallet. The original exception is wrapped inside.

com.kycdao.android.sdk.exceptions.GenericKycException

Throws this if a token id is not present in the transaction receipt.