interface RelayInfo {
    contact?: string;
    description?: string;
    language_tags?: string[];
    limitation?: {
        auth_required?: boolean;
        max_event_tags?: number;
        max_filters?: number;
        max_subscriptions?: number;
        payment_required?: boolean;
        write_restricted?: boolean;
    };
    name?: string;
    posting_policy?: string;
    pubkey?: string;
    relay_countries?: string[];
    software?: string;
    supported_nips?: number[];
    tags?: string[];
    version?: string;
}

Properties

contact?: string
description?: string
language_tags?: string[]
limitation?: {
    auth_required?: boolean;
    max_event_tags?: number;
    max_filters?: number;
    max_subscriptions?: number;
    payment_required?: boolean;
    write_restricted?: boolean;
}

Type declaration

  • Optional auth_required?: boolean
  • Optional max_event_tags?: number
  • Optional max_filters?: number
  • Optional max_subscriptions?: number
  • Optional payment_required?: boolean
  • Optional write_restricted?: boolean
name?: string
posting_policy?: string
pubkey?: string
relay_countries?: string[]
software?: string
supported_nips?: number[]
tags?: string[]
version?: string

Generated using TypeDoc