nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / NostrRelayMetadata

Interface: NostrRelayMetadata

Defined in: types/relays.ts:22

Relay metadata interface

Extends

Properties

name?

optional name: string

Defined in: types/relays.ts:10

Inherited from

NostrRelayInfo.name


description?

optional description: string

Defined in: types/relays.ts:11

Inherited from

NostrRelayInfo.description


pubkey?

optional pubkey: string

Defined in: types/relays.ts:12

Inherited from

NostrRelayInfo.pubkey


contact?

optional contact: string

Defined in: types/relays.ts:13

Inherited from

NostrRelayInfo.contact


supported_nips?

optional supported_nips: number[]

Defined in: types/relays.ts:14

Inherited from

NostrRelayInfo.supported_nips


software?

optional software: string

Defined in: types/relays.ts:15

Inherited from

NostrRelayInfo.software


version?

optional version: string

Defined in: types/relays.ts:16

Inherited from

NostrRelayInfo.version


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