Applesauce
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    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

    Accessors

    • get pubkey(): string

      The hex pubkey represented by this cast

      Returns string

    Methods

    • 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,
      >