nostr-websocket-utils v0.3.0
nostr-websocket-utils / NostrRelayMetadata
Relay metadata interface
Extends
Properties
name?
optional name: string
Inherited from
NostrRelayInfo.name
Defined in
types/relays.ts:10
description?
optional description: string
Inherited from
NostrRelayInfo.description
Defined in
types/relays.ts:11
pubkey?
optional pubkey: string
Inherited from
NostrRelayInfo.pubkey
Defined in
types/relays.ts:12
optional contact: string
Inherited from
NostrRelayInfo.contact
Defined in
types/relays.ts:13
supported_nips?
optional supported_nips: number[]
Inherited from
NostrRelayInfo.supported_nips
Defined in
types/relays.ts:14
software?
optional software: string
Inherited from
NostrRelayInfo.software
Defined in
types/relays.ts:15
version?
optional version: string
Inherited from
NostrRelayInfo.version
Defined in
types/relays.ts:16
url
url: string
Defined in
types/relays.ts:23
status
status: "error" | "connected" | "disconnected"
Defined in
types/relays.ts:24
error?
optional error: string
Defined in
types/relays.ts:25
lastConnected?
optional lastConnected: number
Defined in
types/relays.ts:26
lastDisconnected?
optional lastDisconnected: number
Defined in
types/relays.ts:27