Optional
getIndexerRelays?: () => string[]Retrieves relays that index profiles and relay selections.
Optional
getLimit?: () => numberRetrieves the limit setting, which is the maximum number of relays that should be returned from getUrls and getSelections.
Optional
getPubkeyRelays?: (pubkey: string, mode?: RelayMode) => string[]Retrieves relays for the specified public key and mode.
Optional
getRelayQuality?: (url: string) => numberRetrieves the quality of the specified relay.
Optional
getSearchRelays?: () => string[]Retrieves relays likely to support NIP-50 search.
Optional
getUserPubkey?: () => string | nullRetrieves the user's public key.
Retrieves fallback relays, for use when no other relays can be selected.