Delegate mint evolved NFTs

POST /v1/smart-contract/evolve/nfts/{smartcontractId}

  • API_KEY

Path params:

  • smartContractId (required): Unique collection id.

Request Body

After Call Evolve NFTs, send <response.result> to this endpoint.

TypeDescriptionRequired

nftsCreated

List of NFTs

Yes

//Response EvolveNFTS & Body for /mint/evolve-nfts

{
    "_ids": [ // You send the ids (ids MTM DB) of evolved NFTs.
        "660e02406878e6ef809b9667",
        "660e02406878e6ef809b9668"
    ],
}

Response:

  • result: Response data

{
    "result": {
        "contractPackage": "911300b2bc6725d105d5dad82106e98fd1eb846d4580030ebca49c9ac670eeb3",
        "nftsEvolved": [
            {
                "id": "6626dadb6bae17775b0005c9",
                "idNFT": 0,
                "nftEvolveStatus": 2,
                "hash": "a1939b00aaf56d9985640ff79b90a1284bf64f93197b4934243a09813ddaf939"
            }
        ]
    },
    "error": null
}
  • nftsEvolved: Array list with every nfts transactions and data about transaction

    • nftEvolveStatus: NFT status in Blockchain. If something is not working, you receive STATUS_IN_BC.FAILED (4). If transaction was sent succesfull : STATUS_IN_BC.PENDING. If NFT was evolved in Blockchain STATUS_IN_BC.MINTED

    • hash: Hash Transaction

    • id: Id in Minteandome DB

    • idNFT: id NFT in blockchain.

  • STATUS_IN_BLOCKCHAIN

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

Last updated