Skip to content
🎉 Welcome to the new Aptos Docs! Click here to submit feedback!

Get Token Metadata by Name

GetTokensDataByName retrieves metadata URIs for tokens by their names within a specified collection. This query is particularly useful for marketplaces to show metadata from tokens within a collection.

Explore the capabilities of this query! Modify the variables below to tailor the query to your needs.

Loading...

Variables:

  • $name: String - The name of the token to search within the collection. Example: "The Mexican".
  • $collectionName: String - The name of the collection where the token resides. Example: "Aptomingos".