Class CollectionMetadataDetails<T>

Type Parameters

Hierarchy (view full)




customData: string

Custom data

fetchedUri?: string

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

metadata?: Metadata<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})


  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters


    • other: undefined | null | CustomType<U>
    • Optional normalizeNumberTypes: boolean

    Returns boolean