Type alias SequentialNftCollection

SequentialNftCollection: {
    types: {
        [commitmentHex: string]: NftType;
    };
}

Interpretation information for a collection of sequential NFTs, a collection in which each NFT includes only a sequential identifier within its on-chain commitment. Note that SequentialNftCollections differ from ParsableNftCollections in that sequential collections lack a parsing bytecode with which to inspect each NFT commitment: the type of each NFT is indexed by the full contents its commitment (interpreted as a positive VM integer in user interfaces).

Type declaration

  • types: {
        [commitmentHex: string]: NftType;
    }

    A mapping of each NFT commitment (typically, a positive integer encoded as a VM number) to metadata for that NFT type in this category.

    • [commitmentHex: string]: NftType

      Interpretation information for each type of NFT within the token category, indexed by commitment hex. For sequential NFTs, the on-chain commitment of each NFT is interpreted as a VM number to reference its particular NFT type in user interfaces. Issuing a sequential NFT with a negative or invalid VM number is discouraged, but clients may render the commitment of such NFTs in hex-encoded form, prefixed with X.

Generated using TypeDoc