We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9351e03 commit f8595a7Copy full SHA for f8595a7
1 file changed
blockapi/v2/api/nft/unisat.py
@@ -298,13 +298,13 @@ def parse_collection(self, fetch_result: FetchResult) -> ParseResult:
298
299
floor_price = raw_to_decimals(stats.get("floorPrice", 0), self.coin.decimals)
300
301
- volume_btc = raw_to_decimals(stats.get("btcValue", 0), self.coin.decimals)
+ volume = raw_to_decimals(stats.get("btcValue", 0), self.coin.decimals)
302
303
total_nfts = stats.get("total", 0)
304
market_cap = floor_price * total_nfts if total_nfts else 0
305
306
total_stats = NftCollectionTotalStats.from_api(
307
- volume=str(volume_btc),
+ volume=str(volume),
308
sales_count=str(stats.get("listed", 0)),
309
owners_count=str(total_nfts),
310
market_cap=str(market_cap),
0 commit comments