Why an XRPL NFT Can Have Two Rarity Ranks
A rarity rank says how unusual an NFT’s traits are inside its collection. Each marketplace works it out for itself, so one NFT can carry two ranks. On the 4,000 Chroops, the ranks on xrp.cafe add up a trait name wherever it appears: a yellow background also earns the points of yellow feathers. Counted once per trait, 3,968 of the 4,000 ranks change.
Two NFTs, one difference
Chroops is a collection of 4,000 NFTs on the XRP Ledger. Two of them, #1623 and #2695, have the same beak, clothes, eyes, eyewear and feathers. Only the background differs.
Yellow is the most common background in the collection: 595 NFTs have it. Pink is rarer, with 439. Everything else being equal, the NFT with the rarer background is the rarer NFT. On xrp.cafe the order is the other way round: the yellow one is #3,376 and the pink one #3,607.
How a rarity rank is made
The XRP Ledger stores an NFT and a link to its metadata, the file that lists its traits (NFT concepts). It stores no rank. A marketplace reads the traits of every NFT in a collection and works the ranks out in three steps:
- For each trait, count the share of NFTs that have it. Yellow background: 595 of 4,000, or 14.88%.
- Turn the share into points, more for a rarer trait: 100 ÷ 14.88 = 6.72.
- Add up an NFT’s points. The highest total is rank 1.
The points for a trait come from a table of the collection’s traits. The table for Chroops has 132 rows, and “Yellow” is in it twice: as a background (595 NFTs, 14.88%) and as a feather colour (297 NFTs, 7.43%). A lookup by trait and name finds one row. A lookup by name alone finds both, and both are added.
Counted once, #1623 totals 54.01 points and #2695 totals 56.40: the pink background is worth 2.39 more, so it ranks rarer. Matched by name alone, the yellow background collects 13.46 extra points from the feather colour, and the order turns over.
Five names, counted twice
Chroops has 9 kinds of trait, and 5 names appear under two of them. 3,839 of the 4,000 NFTs carry at least one of these names.
| Name | Used as | NFTs | Points | Also used as | NFTs | Points | Added together |
|---|---|---|---|---|---|---|---|
| Regular | Beak | 2,873 | 1.39 | Eyes | 2,000 | 2.00 | 3.39 |
| Yellow | Background | 595 | 6.72 | Feathers | 297 | 13.46 | 20.18 |
| Grey | Beak | 594 | 6.73 | Feathers | 366 | 10.93 | 17.66 |
| White | Feathers | 354 | 11.30 | Background | 111 | 35.97 | 47.27 |
| Orange | Background | 326 | 12.27 | Feathers | 238 | 16.81 | 29.08 |
The backgrounds show the effect on one trait. Points should rise as a background gets rarer. Three of the nine share their name with a feather colour, and those three jump.
How far the ranks move
32 of the 4,000 NFTs hold the same rank both ways. The largest move is Chroops #176: #1,895 on xrp.cafe, #3,042 with each trait counted once.
The top of the ranking hardly changes. The ten rarest NFTs are the same ten either way, and 91 of the top 100 stay in the top 100: the rarest traits are worth hundreds of points each, and a shared name adds ten or twenty. The middle and the bottom of the ranking move the most.
Three checks that it is the name
Three things show that xrp.cafe’s Chroops ranks add a name wherever it appears.
- The table is right. xrp.cafe’s own trait table lists every trait under its kind, with the shares used here. The double count happens after the table, when points are looked up.
- The order fits exactly. Listed in xrp.cafe’s order, the totals with names counted twice never rise from one NFT to the next. The totals with each trait counted once rise 1,758 times.
- Near-identical pairs agree. 2,014 pairs of Chroops differ in a single trait, like the two above. On 1,811 both ways of counting name the same NFT as rarer. On 199 they disagree, and xrp.cafe ranks every one of those the way the name count does.
Which rankings this touches
It takes two things: a collection where two kinds of trait share a name, and a ranking that adds or multiplies. A collection with no shared names ranks the same both ways.
| How the ranking is made | Rarest first by | A shared name is |
|---|---|---|
| Add the points of each trait | highest total | counted twice |
| Multiply the shares of each trait | lowest product | counted twice |
| Average the shares of each trait | lowest average | counted once |
| A list supplied by the creator | the creator’s order | not a calculation |
The same pattern holds on six more collections ranked by adding or multiplying. In each, xrp.cafe’s order never goes against the totals with names counted twice.
| Collection | NFTs | Ranking | Against counted once | Against counted twice |
|---|---|---|---|---|
| dApp Walkers | 1,200 | adds points | 477 | 0 |
| SEAL on XRP | 906 | adds points | 268 | 0 |
| You Are ATM | 2,000 | adds points | 17 | 0 |
| Gnostic Ugas Elders Circle | 2,222 | adds points | 738 | 0 |
| Teddy BG | 2,600 | multiplies shares | 279 | 0 |
| Laugh Apes | 3,043 | multiplies shares | 1,263 | 0 |
What xrpl.to shows
For a collection that belongs to a marketplace, xrpl.to shows that marketplace’s ranks. This case is the exception: where xrp.cafe’s ranks follow the name count, xrpl.to shows the rank with each trait counted once, using the method xrp.cafe has set for the collection. On Chroops, #1623 is #3,623 and #2695 is #3,560.
The two sites will show different numbers for these collections. xrp.cafe’s ranks are read again every week, and a collection goes back to them once they count each trait once.
Questions
- Why is my NFT’s rarity rank different on xrpl.to and xrp.cafe?
- Where two traits in a collection share a name, xrp.cafe’s sum and product rankings add the points of both to any NFT with that name. xrpl.to counts each trait once. In Chroops that changes 3,968 of 4,000 ranks, by 176 places on average.
- Which rank is right?
- Rarity has no official formula: adding points, multiplying shares and averaging shares are all in use, and they give different ranks. Counting a trait name twice is not one of those formulas. It gives an NFT points for a trait it does not have.
- Does it change which NFTs are the rarest?
- Hardly. In Chroops the ten rarest NFTs are the same ten either way, and 91 of the top 100 stay in the top 100. Their rare traits are worth far more points than a shared name adds. The middle and the bottom of the ranking move most.
- Is a rarity rank stored on the XRP Ledger?
- No. The ledger stores the NFT and a link to its metadata. Each marketplace reads the traits from that metadata and works out the ranks itself, which is why two sites can show two numbers for the same NFT.
Method
Read on 24 November 2026: xrp.cafe’s rank for each of the 4,000 Chroops and the traits it shows for them. The traits are the ones in the metadata each NFT links to. That link is on the XRP Ledger and any node returns it, for example the public full-history API at xrpl.stream, from the team behind xrpl.to.
A share is the NFTs with a trait divided by all 4,000, in percent, rounded to two decimals as in xrp.cafe’s table. Points are 100 divided by the share, rounded to two decimals. NFTs with equal totals can take each other’s places, so a rank counts as matching anywhere inside its group of equal totals. The other collections were read the same way; their trait counts match xrp.cafe’s on every row.