Marmot-TS
    Preparing search index...

    Function getMediaAttachmentsV1

    • Extracts all valid encrypted-media-v1 attachments from a tag list.

      Non-imeta tags and imeta tags that fail validation are skipped.

      Parameters

      • tags: string[][]

        The tags array from a Nostr event or rumor

      Returns MediaAttachmentV1[]

      Array of valid MediaAttachment objects (may be empty)