/mintNFT
🚨 You'll need to contact dev@usewinter.com
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 all NFTs associated with a given email
Request Body
Name | Type | Description |
---|---|---|
projectId* | Integer | projectId set up in Winter's dashboard (a project ID will correspond to smart contract address, ABI, etc) |
chain* | String | Chain to mint on |
String | Optional string to send user an email confirmation | |
mintParams | JSON | Optional JSON object with extra mint params (e.g. if you want to specify a specific tier of an item, this is what you use) |
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:
Last updated