bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface iMetadata<T>

    interface iMetadata<T extends NumberType> {
        _isUpdating?: boolean;
        additionalInfo?: {
            description: string;
            image: string;
            name: string;
            url?: string;
        }[];
        attributes?: {
            name: string;
            type: string;
            value: string
            | number
            | boolean;
        }[];
        bannerImage?: string;
        category?: string;
        description: string;
        externalUrl?: string;
        fetchedAt?: T;
        fetchedAtBlock?: T;
        image: string;
        name: string;
        socials?: { [key: string]: string };
        tags?: string[];
    }

    Type Parameters

    Implemented by

    Index

    Properties

    _isUpdating?: boolean

    Whether the metadata is currently being updated.

    additionalInfo?: {
        description: string;
        image: string;
        name: string;
        url?: string;
    }[]

    Header links for this item displayed right under the title

    attributes?: { name: string; type: string; value: string | number | boolean }[]

    The attributes for this item

    bannerImage?: string

    The banner image for this item.

    category?: string

    The category for this item (e.g. "Education", "Attendance").

    description: string

    The description of this item. Supports markdown.

    externalUrl?: string

    The external URL for this item.

    fetchedAt?: T

    The time the metadata was fetched.

    fetchedAtBlock?: T

    The block the metadata was fetched at.

    image: string

    The image for this item.

    name: string

    The name of this item.

    socials?: { [key: string]: string }

    The socials for this item

    tags?: string[]

    The tags for this item