nostr-websocket-utils / NostrRelayMetadata
Defined in: types/relays.ts:22
Relay metadata interface
optionalname:string
Defined in: types/relays.ts:10
optionaldescription:string
Defined in: types/relays.ts:11
optionalpubkey:string
Defined in: types/relays.ts:12
optionalcontact:string
Defined in: types/relays.ts:13
optionalsupported_nips:number[]
Defined in: types/relays.ts:14
optionalsoftware:string
Defined in: types/relays.ts:15
optionalversion:string
Defined in: types/relays.ts:16
url:
string
Defined in: types/relays.ts:23
status:
"error"|"connected"|"disconnected"
Defined in: types/relays.ts:24
optionalerror:string
Defined in: types/relays.ts:25
optionallastConnected:number
Defined in: types/relays.ts:26
optionallastDisconnected:number
Defined in: types/relays.ts:27