Traits are the individual visual and metadata attributes assigned to each NFT within a collection. They determine what the token looks like, how rare it is within the set, and often how much it sells for on the secondary market. In a generative collection like Bored Ape Yacht Club or CryptoPunks, each token is assembled by combining a set of randomly selected traits from predefined categories.
When a generative NFT collection launches, the creator defines a set of trait categories and the options within each. A profile-picture collection might have categories for background, body, eyes, headwear, clothing, and accessories. Each category contains multiple variants at different frequencies.
Common traits appear in 20% to 50% of the collection. Rare traits appear in 1% or less. The combination of a token's traits across all categories determines its overall rarity score. A token with two or three rare traits simultaneously is often worth multiples of the collection's floor price.
Traits stored off-chain live in a JSON metadata file hosted on IPFS or a centralized server. You can see the trait values when you view the NFT on a marketplace, but those values depend on an external server remaining online and unchanged. If the host disappears, the metadata disappears.
On-chain traits are stored directly in the smart contract or on the blockchain itself. They cannot be altered or deleted without a transaction that would be publicly visible. Fully on-chain collections like Autoglyphs and Nouns store everything, the artwork and metadata, on Ethereum itself. That permanence makes on-chain trait storage the gold standard for long-term collectible value.
Rarity drives price in the NFT market. The fewer tokens in a collection that share a specific trait, the more collectors are willing to pay to own one. A CryptoPunk with the "Alien" skin type, one of only nine in a collection of 10,000, has sold for millions of dollars partly because that trait appears in fewer than 0.1% of the collection.
Trait desirability is not purely about statistical rarity, though. Community consensus matters just as much. A trait that the community finds visually compelling or culturally resonant can command a premium even if it appears in 5% of the collection. Conversely, a statistically rare trait that the community finds ugly may trade at or below the floor price.
Several tools calculate rarity scores and rank tokens within a collection based on their traits. Rarity Sniper and Rarity Tools are the most widely used. Both allow you to search a specific token ID and see how its traits rank compared to the rest of the collection.
Before buying, cross-reference the trait rarity with recent sales of similar tokens. A rarity score only tells you where the token sits statistically. The sales history tells you what buyers actually paid for similar combinations. The gap between rarity rank and sale price often reveals which traits the market actually values.
https://raritysniper.com
https://opensea.io/learn/nft/what-are-nft-traits
https://nouns.wtf
https://larvalabs.com/cryptopunks