idexo
  • Introduction to idexo
  • Getting Started
  • Get API Key
  • NFT
    • Introduction
    • Create a Capped NFT Collection
    • Create a Uncapped NFT Collection
    • Create an Uncapped Soulbound NFT (SBT) Collection
    • Create a Capped Soulbound NFT (SBT) Collection
    • Mint a NFT
    • Mint a SBT
    • Mint a NFT With Image and Metadata In 1 Transaction
  • Project Tokens
    • Create a Project Token
    • Mint a Token
  • Storage
    • Upload Plain Text
    • Upload an HTML file
  • Request A New Blockchain Integration
  • How To Add A New Blockchain
  • Vesting
    • Create a Vesting Smart Contract
  • Utils
    • Introduction
    • Get Contract
    • Get Transactions
  • Directional Staking
    • Introduction
    • NFTMe
Powered by GitBook
On this page

Was this helpful?

  1. NFT

Mint a NFT

This section describes how to mint a NFT within a Collection.

PreviousCreate a Capped Soulbound NFT (SBT) CollectionNextMint a SBT

Last updated 2 years ago

Was this helpful?

To use this method, you need an .

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

  • bnbchain

  • dogechain

  • ethereum

  • fantom

  • polygon

Assuming you have , 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(res.data))
idexo API key
installed the SDK