nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createParameterizedEvent

Function: createParameterizedEvent()

createParameterizedEvent(kind, content, identifier, additionalTags): NostrWSMessage

Creates a parameterized replaceable event

Parameters

kind

number

Event kind

content

string

Event content

identifier

string

Unique identifier for the parameter

additionalTags

string[][] = []

Additional tags

Returns

NostrWSMessage

Parameterized replaceable event

Defined in

nips/nip-33.ts:31