Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CoinCategory(val categoryId: String, val name: String)
Link copied to clipboard
@Serializable
data class CoinCategoryAndData(val id: String, val name: String, val marketCap: Double, val marketCapChange24h: Double, val updatedAt: String)
Link copied to clipboard
@Serializable
data class CoinFullData(val id: String, val symbol: String, val name: String, val hashingAlgorithm: String? = null, val blockTimeInMinutes: Long = 0, val categories: List<String> = emptyList(), val localization: Map<String, String> = emptyMap(), val description: Map<String, String> = emptyMap(), val links: Links, val image: Image, val countryOrigin: String? = null, val genesisDate: String? = null, val contractAddress: String? = null, val icoData: IcoData? = null, val marketCapRank: Long = 0, val coingeckoRank: Long = 0, val coingeckoScore: Double = 0.0, val developerScore: Double = 0.0, val communityScore: Double = 0.0, val liquidityScore: Double = 0.0, val publicInterestScore: Double = 0.0, val marketData: MarketData? = null, val communityData: CommunityData? = null, val developerData: DeveloperData? = null, val publicInterestStats: PublicInterestStats? = null, val statusUpdates: List<Update>? = null, val lastUpdated: String? = null, val tickers: List<Ticker>? = null, val sentimentVotesUpPercentage: Float = 50.0f, val sentimentVotesDownPercentage: Float = 50.0f, val assetPlatformId: String?, val platforms: Map<String, String> = emptyMap(), val publicNotice: String? = null, val additionalNotices: List<String> = emptyList())
Link copied to clipboard
@Serializable
data class CoinHistoryById(val id: String, val symbol: String, val name: String, val localization: Map<String, String> = emptyMap(), val image: Image? = null, val marketData: MarketData? = null, val communityData: CommunityData? = null, val developerData: DeveloperData? = null, val publicInterestStats: PublicInterestStats? = null)
Link copied to clipboard
@Serializable
data class CoinList(val id: String, val symbol: String, val name: String, val platforms: Map<String, String> = emptyMap())
Link copied to clipboard
@Serializable
data class CoinMarkets(val id: String, val symbol: String, val name: String, val image: String? = null, val currentPrice: Double = 0.0, val marketCap: Double = 0.0, val marketCapRank: Long = 0, val totalVolume: Double = 0.0, val high24h: Double = 0.0, val low24h: Double = 0.0, val priceChange24h: Double = 0.0, val priceChangePercentage24h: Double = 0.0, val marketCapChange24h: Double = 0.0, val marketCapChangePercentage24h: Double = 0.0, val circulatingSupply: Double = 0.0, val totalSupply: Double? = null, val ath: Double = 0.0, val atl: Double = 0.0, val atlChangePercentage: Double = 0.0, val athChangePercentage: Double = 0.0, val atlDate: String? = null, val athDate: String? = null, val roi: Roi? = null, val lastUpdated: String? = null, val sparklineIn7d: SparklineIn7d? = null, val priceChangePercentage1hInCurrency: Double = 0.0, val fullyDilutedValuation: Double?, val maxSupply: Double = 0.0)
Link copied to clipboard
@Serializable
data class CoinMarketsList(val markets: List<CoinMarkets>, val total: Int, val perPage: Int, val nextPage: Int?, val previousPage: Int?) : Page
Link copied to clipboard
@Serializable(with = CoinOhlcSerializer::class)
data class CoinOhlc(val time: Long, val open: Double, val high: Double, val low: Double, val close: Double)
Link copied to clipboard
data class CoinPrice(rawFields: Map<String, String?>)
Link copied to clipboard
@Serializable
data class CoinTickerById(val name: String, val tickers: List<Ticker>, val total: Int, val perPage: Int, val nextPage: Int?, val previousPage: Int?) : Page
Link copied to clipboard
@Serializable
data class ExchangeList(val exchanges: List<Exchange>, val total: Int, val perPage: Int, val nextPage: Int?, val previousPage: Int?) : Page
Link copied to clipboard
@Serializable
data class MarketChart(val prices: List<List<String>>, val marketCaps: List<List<String>>, val totalVolumes: List<List<String>>)
Link copied to clipboard
@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)