Plays
A play refers to a specific moment or highlight from an NBA game. Each play is represented by a unique digital collectible that can be bought, sold, and owned just like a physical collectible.
Plays can come in different forms, they can be a dunk, a three-pointer, a block, a steal, a game-winning shot, etc. and can be from regular season games, playoff games or even All-Star games. Each play is unique and different, the play's rarity and value can depend on several factors, such as the player's performance, the game's importance, the edition and subedition it belongs, and more.
Users can purchase plays through packs or on the marketplace and add them to their personal collection. Some users also like to combine multiple plays to create custom highlight reels.
Examples
📄️ All Plays
This script returns an array of all the plays that have ever been created for Top Shot
📄️ Next Play ID
This script reads the public nextPlayID from the TopShot contract and returns that number to the caller.
📄️ Play Metadata Field
This script returns the value for the specified metadata field associated with a play in the TopShot smart contract.
📄️ Play Metadata
This script returns the full metadata associated with a play in the TopShot smart contract.