To use this method, you need an idexo API key. You also need to have the address of an BEP721 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.
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.Binance.mintBEP721(contractAddress, mintToAddress, tokenUri, apiKey)
To customize the above code you need:
The contract address. Replace contractAddress with that.
The address you want to mint the NFT to. Replace mintToAddress with that.
The URI of the token metadata file.
Your idexo API key.
The method in summary is:
ido.Binance.mintBEP721(contractAddress, mintToAddress, tokenUri, apiKey)