What is NFT rarity, and how to calculate it?

NFT rarity is the uniqueness and scarcity of a nonfungible token, calculated using factors, such as distinguishing features and demand.