TzKTBalance

public struct TzKTBalance : Codable

Model mapping to the Balance object returned from the new TzKT API, resulting from the merge of BCD and TzKT

  • Declaration

    Swift

    public static let exceptionListNFT: [String]
  • String containing the RPC respresetnation of the balance of the given token

    Declaration

    Swift

    public let balance: String
  • Details about the Token

    Declaration

    Swift

    public let token: TzKTBalanceToken
  • Helper to convert the RPC token balance to a TokenAmount object

    Declaration

    Swift

    public var tokenAmount: TokenAmount { get }
  • Basic check to see if token is an NFT or not. May not be 100% successful, needs research

    Declaration

    Swift

    public func isNFT() -> Bool
  • Declaration

    Swift

    public func isOnNFTExceptionList() -> Bool