SDK Methods

Overview of SDK Methods

ArtCart SDK contains two methods:

1. awardSpecificNFT

public async void awardSpecificNFT(string email, string cid)

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

public async void awardNFT(string email)

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