DipDupExchangesAndTokens

public struct DipDupExchangesAndTokens : Codable

Wrapper object to map to network response type

  • Declaration

    Swift

    public let symbol: String
  • Declaration

    Swift

    public let address: String
  • Declaration

    Swift

    public let tokenId: Decimal
  • Declaration

    Swift

    public let decimals: Int
  • Declaration

    Swift

    public let thumbnailUri: String?
  • Declaration

    Swift

    public let exchanges: [DipDupExchange]
  • Get the total XTZ pool amount from all the exchanges, useful for sorting

    Declaration

    Swift

    public func totalExchangeXtzPool() -> XTZAmount