Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-20 17:07:45 +03:00
parent ba36b7d26d
commit dfcfce392a
5 changed files with 76 additions and 6 deletions

View file

@ -6,6 +6,8 @@ import java.math.BigDecimal
@JsonClass(generateAdapter = true)
data class TokenMarketChartResponse(
// There is a bug in the API, it returns null values.
// We need to filter them out.
@Json(name = "prices")
val prices: Map<Long, BigDecimal>,
val prices: Map<Long, BigDecimal?>,
)