Marmot-TS
    Preparing search index...

    Function getNip65Relays

    • Reads relay URLs from a NIP-65 (kind 10002) relay-list event.

      Each entry is an r tag: ["r", url] (both read and write) or ["r", url, "read" | "write"]. Pass usage to keep only relays usable for that direction; omit it to return every advertised relay (markerless r tags count as both directions).

      Parameters

      Returns string[]

      Normalized, validated relay URLs