Sets
A set refers to a collection of officially licensed NBA highlights that are available to purchase, trade, and own as non-fungible tokens (NFTs). Sets are usually themed or based on a specific event, such as a single game or a season. Each set has a limited number of highlights available and when a set is sold out, the highlights within that set are not available for purchase anymore. It's important to note that the value of the highlights in a set can vary depending on their rarity, play, and other factors.
Additionally, there are also limited edition sets that are only available for a short period of time, these are also known as "moments packs" or "drop", they are usually more expensive and harder to get than a regular set, but they usually have some of the rarest and most valuable highlights in the game.
Examples
📄️ Next Set ID
This script reads the next Set ID from the TopShot contract and returns that number to the caller.
📄️ Number of Moments in an Edition
This script returns the number of specified moments that have been minted for the specified edition.
📄️ Plays in a Set
This script returns an array of the play IDs that are in the specified set.
📄️ Set Data
This script returns all the metadata about the specified set.
📄️ Set Edition Retired
This transaction reads if a specified edition is retired.
📄️ Set IDs by Name
This script returns an array of the setIDs that have the specified name.
📄️ Set Locked
This script returns a boolean indicating if the specified set is locked meaning new plays cannot be added to it.
📄️ Set Name
This script gets the setName of a set with specified setID.
📄️ Set Series
This script reads the series of the specified set and returns it.