kernl API
    Preparing search index...

    Function selectRelayTier

    • Choose the relay tier for a set of filters.

      Profiles, follow lists and relay lists come from the discovery tier; applet manifests from the apps tier; everything else goes to the user's outbox relays plus the super tier. A filter without kinds cannot be classified and takes the general path.

      Parameters

      • tiers: RelayTiers

        The current tier configuration.

      • filters: readonly NostrFilter[]

        Filters about to be sent.

      Returns string[]

      Relay URLs, deduplicated.

      selectRelayTier(tiers, [{ kinds: [0], authors: [pubkey] }]); // tiers.get().discovery