The NFT struct represents a non-fungible token within Unity applications using the Xerial services. It encapsulates information about the NFT, including its amount, collection, metadata and attributes


using System;
using System.Collections.Generic;

namespace Xerial
    public struct NFT
        // Implementation details


  • amount: An integer representing the amount of the NFT.

  • collection: An instance of the Collection struct representing the collection to which the NFT belongs.

  • metadata: An instance of the Metadata struct representing the metadata associated with the NFT.

  • maxSupply: A string representing the maximum supply of the NFT.

  • edition: An integer representing the edition of the NFT.

  • tokens: A list of Token structs representing the tokens associated with the NFT.

Last updated