Applesauce
    Preparing search index...

    Class AssertionProvider

    A cast for a service provider pubkey that publishes NIP-85 assertion events

    Hierarchy (View Summary)

    Index
    cache: Map<string, WeakRef<AssertionProvider>> = ...

    Per-class weak singleton cache used by castPubkey

    cacheRegistry?: FinalizationRegistry<string>

    Cleans up dead cache entries when their instances are garbage collected

    • get pubkey(): string

      The hex pubkey represented by this cast

      Returns string

    • Parameters

      • pubkey: string

      Returns Observable<
          | {
              amount: number
              | undefined;
              avgPerDay: number | undefined;
              count: number | undefined;
          }
          | undefined,
      >

    • Parameters

      • pubkey: string

      Returns Observable<
          | {
              amount: number
              | undefined;
              avgPerDay: number | undefined;
              count: number | undefined;
          }
          | undefined,
      >