Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 1fe50ea

Browse files
committed
⚡ spotlight shows volumme and unique collectors
1 parent 2c6f427 commit 1fe50ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

components/spotlight/SpotlightTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ export default class SpotlightTable extends mixins(
190190
averagePrice: Number(e.averagePrice),
191191
collectors: e.sold,
192192
rank: e.sold * (e.unique / e.total || 1),
193-
uniqueCollectors: e.sold,
194-
volume: BigInt(0),
193+
uniqueCollectors: e.uniqueCollectors,
194+
volume: BigInt(e.volume),
195195
})).sort((a, b) => b.rank - a.rank)
196196
197197
// this.data = spotlightAggQuery(

queries/rmrk/subsquid/collectionSpotlightList.graphql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ query collectionSpotlightList {
66
total
77
averagePrice: average
88
count: collections
9+
uniqueCollectors
10+
volume
911
}
1012
}

0 commit comments

Comments
 (0)