Inventory Service
Last updated
Last updated
The Inventory Service simplifies finding what NFTs a user owns for developers. And provides utility and tagging functionality to provide context to the user's NFTs. It provides a service for finding ERC721 and ERC1155 tokens owned by a given wallet address and data associated with them.
The Inventory Service currently supports blockchains available on the Rarible API (e.g. Ethereum, Polygon, Flow, Tezos, Solana and ImmutableX). We plan to expand this in the future.
Additionally, the Inventory Service provides Dynamic Metadata functionality so developers, collection creators and owners can provide extra utility to their NFTs. An example use-case is to provide categorization of NFTs - knowing what is an avatar, a prop, a weapon or a piece of clothing. The structure of the metadata is yet to be fully standardized, and the exact implementation of the dynamic metadata system itself is subject to change.
The Emergence overlay provides an interface for viewing and selecting inventory items. Developers can activate it as a "picker" to allow the player to select NFTs from within the game, or alternatively just query and display the data within their game's UI. The inventory can also be opened to any wallet, not just that of the logged in user - as an example, this could be useful for allowing the user to select items they would take in a trade.
The following video shows examples of use cases of the inventory service. In the video, its worth noting the use of dynamic metadata to add additional data to the existing NFTs (such as where to attach the weapon / clothes to the character) and that the inventory the jukebox uses isn't that of the logged in user, but the owner of the jukebox (who owns the Snoop Dogg NFT).
See the Inventory Service APIs (Unreal) for a full list of features.
Here are a few Tutorials to use the Inventory Service in different ways "How to make an in-game Inventory Showing Relevant NFTs" "How to read and write to dynamic metadata" "Using an NFT Picker"