kernl API
    Preparing search index...

    Type Alias LookupBefore

    LookupBefore: (
        kind: number,
        pubkey: string,
        identifier?: string,
    ) => Promise<NostrEvent | undefined>

    Finds the current version of a replaceable event so the summary can show a diff; undefined when it cannot be found.

    Type Declaration

      • (
            kind: number,
            pubkey: string,
            identifier?: string,
        ): Promise<NostrEvent | undefined>
      • Parameters

        • kind: number
        • pubkey: string
        • Optionalidentifier: string

        Returns Promise<NostrEvent | undefined>