/mintFreeNFT
🚨 You'll need to contact dev@usewinter.com
for your API keys!
This set of APIs is for when you want to mint specifically a FREE NFT directly from a smart contract.
An example use case is if you want to reward a user with a free loyalty 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. /mintFreeNFT returns:
Last updated