Documentation
    Preparing search index...

    Interface HandlerInformation

    A parsed kind-31990 handler-information event.

    const info = parseHandlerInformation(event);
    info.kinds; // [1, 30023]
    info.metadata.name; // 'My Reader'
    info.platforms.web; // [{ url: 'https://app/<bech32>', entity: 'nevent' }]
    interface HandlerInformation {
        address: string;
        identifier: string;
        kinds: number[];
        metadata: Record<string, unknown>;
        platforms: Partial<Record<HandlerPlatform, HandlerTarget[]>>;
        pubkey: string;
    }
    Index

    Properties

    address: string

    Addressable coordinate 31990:pubkey:d.

    identifier: string

    d-tag identifier (handler instance id).

    kinds: number[]

    Event kinds the handler declares support for (from k tags, de-duplicated).

    metadata: Record<string, unknown>

    Parsed kind-0-style metadata from content (name, display_name, picture, about, …). {} if absent/invalid.

    platforms: Partial<Record<HandlerPlatform, HandlerTarget[]>>

    Per-platform URL templates, keyed by HandlerPlatform. Only platforms present in the event appear.

    pubkey: string

    Handler author pubkey.