Mar 4, 2021
Ah great question! The ERC721 standard has built-in methods for this. In the same way that you called the awardItem
method, you will call the tokenURI
method. This method takes a tokenId as its argument (if there’s just one token, the id is 1), and it returns the metadata URI. Hope that helps!