kernl API
    Preparing search index...

    Function preferenceRelays

    • The relays a preference event is read from and written to: the user's outbox, then the public relays (the spec's NIP-65 write relays, as the shell knows them).

      Parameters

      Returns readonly string[]

      Deduplicated relay URLs.

      preferenceRelays(tiers); // ['wss://relay.mine', 'wss://relay.damus.io', …]