Coin

public struct Coin : Codable, Equatable, CoinType
  • id

    Coin id, eg. btc-bitcoin

    Declaration

    Swift

    public let id: String
  • Coin name, eg. Bitcoin

    Declaration

    Swift

    public let name: String
  • Coin symbol, eg. BTC

    Declaration

    Swift

    public let symbol: String
  • Coin position in Coinpaprika ranking

    Declaration

    Swift

    public let rank: Int
  • Percent change

    Declaration

    Swift

    public let percentChange: Decimal