Constructors

Properties

queries: LRU<Observable<any> | BehaviorSubject<any>> = ...
store: EventStore
Queries: Queries = Queries

Methods

  • Returns the parsed relay list (10002) for the pubkey

    Parameters

    • pubkey: string

    Returns Observable<undefined | {
        inboxes: string[];
        outboxes: string[];
    }>

  • Returns the latest version of a replaceable event

    Parameters

    • kind: number
    • pubkey: string
    • Optionald: string

    Returns Observable<undefined | Event>

  • Returns a directory of events by their UID

    Parameters

    • pointers: {
          identifier?: string;
          kind: number;
          pubkey: string;
      }[]

    Returns Observable<Map<string, Event>>