A leaderboard of top PopRank players, either across the app or a single collection.
The player leaderboard is an array of objects with the following structure:
Property | Description | Type(s) |
---|---|---|
user | The user's wallet address. | string |
rank | The user's rank in the leaderboard. | number |
played | The number of rounds the user has played across. | number |
topCollections (exists for the global leaderboard) | An array of all the collections the user has played, sorted in descending order of rounds played. | TopCollection[] |
The TopCollection
model is the following:
Property | Description | Type(s) |
---|---|---|
collection | The slug of the collection. | string |
played | The number of collection rounds the user has played. | number |