TokenType

public enum TokenType : String, Codable

An Enum to express the type of a token. Different processes are needed to fetch a balance for a users XTZ wallet, versus fetching a FA1.2 token balance. This allows the library to abstract this logic away from the user and handle it all behind the scenes.

  • xtz

    Declaration

    Swift

    case xtz
  • Declaration

    Swift

    case fungible
  • Declaration

    Swift

    case nonfungible