Interface HandleMetadata

Metadata associated with a Handle.

All fields are optional and application-defined. The protocol does not interpret metadata; it is carried for convenience and may be serialized into tokens or stored by the application.

interface HandleMetadata {
    displayName?: string;
    avatar?: string;
    [key: string]: unknown;
}

Hierarchy (view full)

Indexable

  • [key: string]: unknown

    Arbitrary additional fields.

Properties

displayName?: string

Human-readable display name.

avatar?: string

URL or data-URI of an avatar image.