Protocols

The following protocols are available globally.

  • NFT specification must conform to this protocol. Its properties can be converted to array of NftDataType, for NftCreateOperation. Properties of model conforming to NftModel can use NftProperty property wrapper to specify further parameters of a given property. Data types conforming to NftModel must be public. Order of properties is crucial because it is relied upon when parsing model from RawNft.

    See more

    Declaration

    Swift

    public protocol NftModel : Decodable, Encodable