Skip to content

Latest commit

 

History

History
133 lines (67 loc) · 2.43 KB

RelayInformation.md

File metadata and controls

133 lines (67 loc) · 2.43 KB

nostr-websocket-utils v0.3.0


nostr-websocket-utils / RelayInformation

Interface: RelayInformation

Relay information document structure

Properties

name?

optional name: string

Defined in

nips/nip-11.ts:16


description?

optional description: string

Defined in

nips/nip-11.ts:17


pubkey?

optional pubkey: string

Defined in

nips/nip-11.ts:18


contact?

optional contact: string

Defined in

nips/nip-11.ts:19


supported_nips?

optional supported_nips: number[]

Defined in

nips/nip-11.ts:20


software?

optional software: string

Defined in

nips/nip-11.ts:21


version?

optional version: string

Defined in

nips/nip-11.ts:22


limitation?

optional limitation: object

max_message_length?

optional max_message_length: number

max_subscriptions?

optional max_subscriptions: number

max_filters?

optional max_filters: number

max_limit?

optional max_limit: number

max_subid_length?

optional max_subid_length: number

min_prefix?

optional min_prefix: number

max_event_tags?

optional max_event_tags: number

max_content_length?

optional max_content_length: number

min_pow_difficulty?

optional min_pow_difficulty: number

auth_required?

optional auth_required: boolean

payment_required?

optional payment_required: boolean

Defined in

nips/nip-11.ts:23