Interface iCollectionMetadataDetails<T>

interface iCollectionMetadataDetails<T> {
    customData: string;
    fetchedUri?: string;
    metadata?: iMetadata<T>;
    toUploadToIpfs?: boolean;
    uri: string;
}

Type Parameters

Implemented by

Properties

customData: string

Custom data

fetchedUri?: string

The URI that the metadata was fetched from with placeholders replaced.

metadata?: iMetadata<T>

The metadata fetched by the URI

toUploadToIpfs?: boolean

Flag to denote if the metadata is new and should be updated. Used internally.

uri: string

The URI that the metadata was fetched from. This is the original on-chain URI, so may still have placeholders (i.e. {id} or {address})