NFT Creation (ARC3)

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.

ARC Standards we support:

NFT creation based on ARC3

curl -X POST "http://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/{chain}/asset/create/{assetName}/{assetUnitName}/{url}" 
-H  "accept: application/json" -d ""

Path parameters:

  • chain:[string] chain to work with. Either TESTNET , BETANET or MAINNET

Body Details:

{
  "name": "string",
  "description": "string",
  "image": "string",
  "decimals": 0,
  "unitName": "string",
  "image_integrity": "string",
  "image_mimetype": "string",
  "properties": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  }
}

Body parameters:

name : The Name for this asset

description : A description of this asset

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 -X POST "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"
}

Last updated