NFTs on Algorand are created using the Algorand Standard Assets (ASAs), which are part of the core protocol and created using a special type of transaction. This makes Algorand different to other chains where smart contracts are needed for the creation of an NFT. You can learn more about it here.
image : A URI pointing to a file with MIME type image/* representing the asset to which this token represents
decimals : A value of >0 is considered a 'Fractional NFT'
unitName : The Unit Name for this asset
image_integrity : The SHA-256 digest of the file pointed by the URI image.
image_mimetype : The MIME type of the file pointed by the URI image. MUST be of the form 'image/*'
properties : Arbitrary properties (also called attributes). Values may be strings, numbers, object or arrays.
Example:
curl-XPOST"https://nftkit.walt-test.cloud/v2/nftkit/nft/Algorand/chain/ALGORAND_TESTNET/asset/create"-H"accept: application/json"-H"Content-Type: application/json"-d"{\"name\":\"waltid\",\"description\":\"nft of waltid\",\"image\":\"ipfs://bafkreihph3lc43efz44d5hgukfbdxib4bdkwp4lrdg3pdrtw57nh4nkbwy\",\"decimals\":0,\"unitName\":\"waltid\",\"image_integrity\":\"string\",\"image_mimetype\":\"image/png\",\"properties\":{\"color\":\"blue\"}}"
Response:
{"txId":"string","explorerUrl":"string"}
import id.walt.nftkit.services.AlgorandChainimport id.walt.nftkit.services.AlgorandNftServiceval result = AlgorandNftService.createAssetArc3( AlgorandChain.ALGORAND_TESTNET,"testAsset","test","ipfs://bafkreidsvna6qass5ntkgfa7xp6x3u53oee2wao2vjt26s6upqngsntpc4","testAsset",0,mapOf("cap" to "red") )