/mintNFT
🚨 You'll need to contact
[email protected]
for your API keys!
This set of APIs is for when you want to mint (free or paid) NFTs directly from a smart contract.
Because this API supports paid mints (e.g. we can mint NFTs that cost 0.05 ETH), usage of this API will require a signed business agreement.
An example use case is if a user buys a video game item as an NFT, you can collect the payment from Apple In App Purchases (IAP), and call this API to mint an NFT!
post
https://winter-api.usewinter.com/mintNFT
This API will return back if the mint was success or failure and additional details such as tx hash, token_id, and other details!
E.g. /mintNFT returns:
{
"project_id":104,
"success": true,
"mint_id":"01a2e7b5fb11d9342320b3edd1006800",
"token_id":19,
"tokenuri":"ipfs://QmQxTMxsAtkNodUJ26mbtchsnqTekKqgDvkjnzWir4vTxZ/19",
"token_symbol":"MATIC",
"smart_contract_address":"0xc9a1c857172974978641fde7463c22f4a6111d77",
"txHash": "0x8259801df6220e4e47960fcdd0dff998973ee70bb1e24688370460fba8a8ae49"
}
Last modified 4mo ago