Use case

Say that you are making a fantasy football video game: for a specific collection, let’s say “Players”, you want to be able to access the collection traits.

Reminder: collection traits are the properties that were defined in the smart contract. For instance, for a Player collection, it could be “Football Club”, “Price”, “Position”, “Season”, etc.

In your user journey, you can display to your End Users the list of all the collection traits, so End Users can then change/choose some of them as filters to display listings.

API

Here is the link to the API documentation to see the list of all your collection traits from a specific collection: https://sandbox.nfts.eniblock.fr/redoc/users-wallets-operations-administration#operation/getAllCollectionItem