Justin Hunter
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!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Justin Hunter
Justin Hunter

Written by Justin Hunter

Writer. Lead Product Manager, ClickUp. Tinkerer.

No responses yet

Write a response