Mintee.js is a simple way to use the Mintee API for minting NFTs on the Solana blockchain.
npm install mintee.js
You can interact with Mintee by using our npm package or by using our API directly.
Visit the Mintee Sign Up and generate an API key.
import { Mintee } from "mintee.js";
const apiKey = "YOUR_API_KEY";
const mintee = new Mintee({ apiKey });
// or use make // devnet
// const mintee = Mintee.init({apiKey}, options: {
// network: 'devnet'
// })
const tokenAddress = "214gAnKQUfFoD6AW4aRtETJNA73WZ3mYUybMEp3PDqHy";
const nftInfo = await mintee.nftInfo({ tokenAddress });
console.log(nftInfo);
It is not necessary to install the npm package to easily interact with our api.
const tokenAddress = "EtNfhjfpP8N71YVFFRvMn9iFzDG1PKaSwKUcBH6LzJVR";
const url = `https://api.mintee.io/nftInfo/${tokenAddress}`;
const response = fetch(url, {
method: "GET",
headers: {
"x-api-key": "YOUR_API_KEY",
},
});
const nftInfo = await response.json();