Subeditions
A subedition refers to a specific version of a highlight within a larger set or edition. Subeditions are used to create additional scarcity and exclusivity within a set or edition. An edition of NBA Top Shot might have several subeditions, each with a different rarity level or a different number of copies available.
For example, a "Limited" subedition of a highlight may have only a few copies available for purchase, while a "Common" subedition may have many more copies available. Subeditions can also be used to indicate the specific type of play, like alley-oops, three-pointers or buzzer beaters, or a specific moment of a game. The idea behind subeditions is to create a layer of rarity and exclusivity within the Top shots, making certain highlights more valuable than others.
Examples
📄️ All Subeditions
This script returns an array of all the plays that have ever been created for Top Shot.
📄️ Next Subedition ID
This script reads the nextSubeditionID from the SubeditionAdmin resource and returns that number to the caller.
📄️ Subedition By ID
This script returns the full Subedition entity from the TopShot smart contract.