Mint a NFT
This section describes how to mint a NFT within a Collection.
To use this method, you need an idexo API key.
You also need to have the address of an XXX contract that you have deployed, the address you are minting to and the URI for the metadata file for the NFT that you are minting. You will need to specify the blockchain network the NFT Collection is on, i.e. one of the following supported networks:
  • avalanche
  • binance
  • ethereum
  • fantom
  • polygon
Assuming you have installed the SDK, you can use the following code in your file (instructions on modifying it follows):
const ido = require('idexo-sdk')
ido.NFTs.mintNFT(apiKey, network, contractAddress, addressToMintTo, tokenUri)
.then(res => console.log(
Copy link