MarketData

@Serializable
data class MarketData(val currentPrice: Map<String, Double> = emptyMap(), val roi: Roi? = null, val ath: Map<String, Double> = emptyMap(), val athChangePercentage: Map<String, Double> = emptyMap(), val athDate: Map<String, String> = emptyMap(), val atl: Map<String, Double> = emptyMap(), val atlChangePercentage: Map<String, Double> = emptyMap(), val atlDate: Map<String, String> = emptyMap(), val marketCap: Map<String, Double> = emptyMap(), val marketCapRank: Long = 0, val totalVolume: Map<String, Double> = emptyMap(), val high24h: Map<String, Double> = emptyMap(), val low24h: Map<String, Double> = emptyMap(), val priceChange24h: Double = 0.0, val priceChangePercentage24h: Double = 0.0, val priceChangePercentage7d: Double = 0.0, val priceChangePercentage14d: Double = 0.0, val priceChangePercentage30d: Double = 0.0, val priceChangePercentage60d: Double = 0.0, val priceChangePercentage200d: Double = 0.0, val priceChangePercentage1y: Double = 0.0, val marketCapChange24h: Double = 0.0, val marketCapChangePercentage24h: Double = 0.0, val priceChange24hInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage1hInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage24hInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage7dInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage14dInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage30dInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage60dInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage200dInCurrency: Map<String, Double> = emptyMap(), val priceChangePercentage1yInCurrency: Map<String, Double> = emptyMap(), val marketCapChange24hInCurrency: Map<String, Double> = emptyMap(), val marketCapChangePercentage24hInCurrency: Map<String, Double> = emptyMap(), val totalSupply: Double? = null, val circulatingSupply: Double = 0.0, val lastUpdated: String? = null)

Constructors

Link copied to clipboard
constructor(currentPrice: Map<String, Double> = emptyMap(), roi: Roi? = null, ath: Map<String, Double> = emptyMap(), athChangePercentage: Map<String, Double> = emptyMap(), athDate: Map<String, String> = emptyMap(), atl: Map<String, Double> = emptyMap(), atlChangePercentage: Map<String, Double> = emptyMap(), atlDate: Map<String, String> = emptyMap(), marketCap: Map<String, Double> = emptyMap(), marketCapRank: Long = 0, totalVolume: Map<String, Double> = emptyMap(), high24h: Map<String, Double> = emptyMap(), low24h: Map<String, Double> = emptyMap(), priceChange24h: Double = 0.0, priceChangePercentage24h: Double = 0.0, priceChangePercentage7d: Double = 0.0, priceChangePercentage14d: Double = 0.0, priceChangePercentage30d: Double = 0.0, priceChangePercentage60d: Double = 0.0, priceChangePercentage200d: Double = 0.0, priceChangePercentage1y: Double = 0.0, marketCapChange24h: Double = 0.0, marketCapChangePercentage24h: Double = 0.0, priceChange24hInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage1hInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage24hInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage7dInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage14dInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage30dInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage60dInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage200dInCurrency: Map<String, Double> = emptyMap(), priceChangePercentage1yInCurrency: Map<String, Double> = emptyMap(), marketCapChange24hInCurrency: Map<String, Double> = emptyMap(), marketCapChangePercentage24hInCurrency: Map<String, Double> = emptyMap(), totalSupply: Double? = null, circulatingSupply: Double = 0.0, lastUpdated: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "ath_change_percentage")
val athChangePercentage: Map<String, Double>
Link copied to clipboard
@SerialName(value = "ath_date")
val athDate: Map<String, String>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "atl_change_percentage")
val atlChangePercentage: Map<String, Double>
Link copied to clipboard
@SerialName(value = "atl_date")
val atlDate: Map<String, String>
Link copied to clipboard
@SerialName(value = "circulating_supply")
val circulatingSupply: Double = 0.0
Link copied to clipboard
@SerialName(value = "current_price")
val currentPrice: Map<String, Double>
Link copied to clipboard
@Serializable(with = NullValueOmittingMapSerializer::class)
@SerialName(value = "high_24h")
val high24h: Map<String, Double>
Link copied to clipboard
@SerialName(value = "last_updated")
val lastUpdated: String? = null
Link copied to clipboard
@Serializable(with = NullValueOmittingMapSerializer::class)
@SerialName(value = "low_24h")
val low24h: Map<String, Double>
Link copied to clipboard
@SerialName(value = "market_cap")
val marketCap: Map<String, Double>
Link copied to clipboard
@SerialName(value = "market_cap_change_24h")
val marketCapChange24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap_change_24h_in_currency")
val marketCapChange24hInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "market_cap_change_percentage_24h")
val marketCapChangePercentage24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap_change_percentage_24h_in_currency")
val marketCapChangePercentage24hInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "market_cap_rank")
val marketCapRank: Long = 0
Link copied to clipboard
@SerialName(value = "price_change_24h")
val priceChange24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_24h_in_currency")
val priceChange24hInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_14d")
val priceChangePercentage14d: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_14d_in_currency")
val priceChangePercentage14dInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_1h_in_currency")
val priceChangePercentage1hInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_1y")
val priceChangePercentage1y: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_1y_in_currency")
val priceChangePercentage1yInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_200d")
val priceChangePercentage200d: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_200d_in_currency")
val priceChangePercentage200dInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_24h")
val priceChangePercentage24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_24h_in_currency")
val priceChangePercentage24hInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_30d")
val priceChangePercentage30d: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_30d_in_currency")
val priceChangePercentage30dInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_60d")
val priceChangePercentage60d: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_60d_in_currency")
val priceChangePercentage60dInCurrency: Map<String, Double>
Link copied to clipboard
@SerialName(value = "price_change_percentage_7d")
val priceChangePercentage7d: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_7d_in_currency")
val priceChangePercentage7dInCurrency: Map<String, Double>
Link copied to clipboard
val roi: Roi? = null
Link copied to clipboard
@SerialName(value = "total_supply")
val totalSupply: Double? = null
Link copied to clipboard
@SerialName(value = "total_volume")
val totalVolume: Map<String, Double>