Skip to content

Commit f8595a7

Browse files
authored
fix: pricing + images naive fetch
1 parent 9351e03 commit f8595a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

blockapi/v2/api/nft/unisat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,13 @@ def parse_collection(self, fetch_result: FetchResult) -> ParseResult:
298298

299299
floor_price = raw_to_decimals(stats.get("floorPrice", 0), self.coin.decimals)
300300

301-
volume_btc = raw_to_decimals(stats.get("btcValue", 0), self.coin.decimals)
301+
volume = raw_to_decimals(stats.get("btcValue", 0), self.coin.decimals)
302302

303303
total_nfts = stats.get("total", 0)
304304
market_cap = floor_price * total_nfts if total_nfts else 0
305305

306306
total_stats = NftCollectionTotalStats.from_api(
307-
volume=str(volume_btc),
307+
volume=str(volume),
308308
sales_count=str(stats.get("listed", 0)),
309309
owners_count=str(total_nfts),
310310
market_cap=str(market_cap),

0 commit comments

Comments
 (0)