Type alias ProfileMetadataDetails

ProfileMetadataDetails: {
    appId?: AppId;
    attributes?: MetadataAttribute[];
    bio?: Markdown;
    coverPicture?: URI;
    id: string;
    name?: string;
    picture?: URI;
}

Type declaration

  • Optional appId?: AppId

    The App Id that this Profile details are relevant for.

    If omitted the data is considered to be the global Profile data.

  • Optional attributes?: MetadataAttribute[]

    A bag of attributes that can be used to store any kind of metadata that is not currently supported by the standard. Over time, common attributes will be added to the standard and their usage as arbitrary attributes will be discouraged.

  • Optional bio?: Markdown

    The profile bio as markdown.

  • Optional coverPicture?: URI

    The profile cover picture.

  • id: string

    A unique identifier that in storages like IPFS ensures the uniqueness of the metadata URI. Use a UUID if unsure.

  • Optional name?: string

    The profile display name.

  • Optional picture?: URI

    The profile picture.