nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createEventMessage

Function: createEventMessage()

createEventMessage(event): NostrWSMessage

Creates an EVENT message

Parameters

event

Record<string, unknown>

Returns

NostrWSMessage

Defined in

nips/nip-01.ts:61