nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / getRelayInformation

Function: getRelayInformation()

getRelayInformation(url): Promise<RelayInformation>

Defined in: nips/nip-11.ts:43

Fetches relay information document

Parameters

url

string

Relay URL (ws:// or wss://)

Returns

Promise<RelayInformation>

Relay information