nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createOkMessage

Function: createOkMessage()

createOkMessage(eventId, success, details?): NostrWSMessage

Creates an OK message

Parameters

eventId

string

success

boolean = true

details?

Record<string, unknown>

Returns

NostrWSMessage

Defined in

nips/nip-20.ts:116