TzKTBalanceToken
public struct TzKTBalanceToken : Codable
Model encapsulating information about the token itself
-
Details of the contract (e.g. address)
Declaration
Swift
public let contract: TzKTAddress
-
The FA2 token ID of the token
Declaration
Swift
public let tokenId: String
-
Which FA version the token conforms too
Declaration
Swift
public let standard: FaVersion
-
Total avaialble supply of this address + token id combo
Declaration
Swift
public let totalSupply: String?
-
Metadata about the token
Declaration
Swift
public var metadata: TzKTBalanceMetadata?
-
Declaration
Swift
public var malformedMetadata: Bool
-
Helper to determine what string is used as the symbol for display purposes
Declaration
Swift
public var displaySymbol: String { get }
-
Declaration
Swift
public init(contract: TzKTAddress, tokenId: String, standard: FaVersion, totalSupply: String?, metadata: TzKTBalanceMetadata?)
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws