SDK Methods
Overview of SDK Methods
ArtCart SDK contains two methods:
1. awardSpecificNFT
This method takes customer email and cid (metada ipfs hash which defines an NFT template) as paramters and issues an NFT to a player based on their email.
2. awardNFT
This method takes customer email and issues a random NFT from all the templates that you have created. This method can be customized according to your needs.
Last updated