kernl API
    Preparing search index...

    Function mailboxTags

    • The tags of the next NIP-65 list: one r tag per server, unmarked when it is both an inbox and an outbox, then every tag of the previous list that is not an r tag, so what other clients wrote is kept.

      Parameters

      • mailboxes: Mailboxes

        The inboxes and outboxes to publish.

      • Optionalprevious: NostrEvent

        The list being replaced, if any.

      Returns string[][]

      The tags. Throws invalid:relay-url for an entry that is not a ws: or wss: URL.

      mailboxTags({ inboxes: ['wss://a.example', 'wss://b.example'], outboxes: ['wss://a.example'] });
      // [['r', 'wss://a.example/'], ['r', 'wss://b.example/', 'read']]