AppleSauce
    Preparing search index...

    Interface RelayHintContext

    A context with optional methods for getting relay hints

    interface RelayHintContext {
        getEventRelayHint?: (
            event: string,
        ) => undefined | string | Promise<string> | Promise<undefined>;
        getPubkeyRelayHint?: (
            pubkey: string,
        ) => undefined | string | Promise<string> | Promise<undefined>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    getEventRelayHint?: (
        event: string,
    ) => undefined | string | Promise<string> | Promise<undefined>
    getPubkeyRelayHint?: (
        pubkey: string,
    ) => undefined | string | Promise<string> | Promise<undefined>