nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / createDeletionEvent

Function: createDeletionEvent()

createDeletionEvent(eventIds, reason?): Omit<NostrEvent, "id" | "sig">

Defined in: nips/nip-09.ts:30

Creates a deletion event

Parameters

eventIds

string[]

reason?

string

Returns

Omit<NostrEvent, "id" | "sig">