Function getRootEventId

  • Returns the root event ID of an event.

    Parameters

    • event: NDKEvent

      The event to get the root event ID from

    • OptionalsearchTag: string

      The tags to search for the root event ID

    Returns NDKEventId | null | undefined

    The root event ID or undefined if the event does not have a root event ID

    "a" or "e"