Delegate mint NFTs

GET /v1/smart-contract/mint/nfts/{smartcontractId}

  • API_KEY

Path params:

  • smartContractId (required): Unique collection id.

Response:

{
    "result": {
        "contractPackage": "78065cc...210d09dfec2",
        "nftsSigned": [
            {
                "id": "662796...5ba53",
                "idNFT": 3,
                "nftMintStatus": 4,
                "error": {}
            }
        ],
        "nftsChecked": [
            {
                "id": "662795d...7a777b25ba30",
                "idNFT": 0,
                "nftMintStatus": 1,
                "hash": "ef1dbfce638...a2394069622e14f"
            },
            {
                "id": "662795d46...25ba31",
                "idNFT": 1,
                "nftMintStatus": 1,
                "hash": "4f8a18bd84b7fa2010...959368124bb62117a020"
            },
            {
                "id": "662795d...a777b25ba32",
                "idNFT": 2,
                "nftMintStatus": 1,
                "hash": "35f729f0af1c3aa5486d640...e082e7d6fd163"
            }
        ]
    },
    "error": null
}
  • nftsSigned: Array list with every nfts transactions and data about transaction

    • nftMintStatus: NFT status in Blockchain. If something is not working, you receive STATUS_IN_BC.FAILED (4).

    • hash: Hash Transaction

    • id: Id in Minteandome DB

    • idNFT: id NFT in blockchain. (This id, could change if more than 1 nft is launched in parallel)

  • nftsChecked: Array list with nfts pending check in blockchain.

    • nftMintStatus: NFT status in Blockchain. If NFT is minted, you receive STATUS_IN_BC.MINTED (4).

    • hash: Hash Transaction

    • id: Id in Minteandome DB

    • idNFT: id NFT in blockchain update if its necessary. (This id, could change if more than 1 nft is launched in parallel)

  • STATUS_IN_BLOCKCHAIN

    export enum STATUS_IN_BC {
        PENDING, // 0
        SIGNED, // 1
        MINTED, // 2
        REJECTED, // 3
        FAILED, // 4
        DEPRECATED // 5
    }

Last updated