nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / createCommandNoticeMessage

Function: createCommandNoticeMessage()

createCommandNoticeMessage(code, message, details?): NostrWSMessage

Defined in: nips/nip-20.ts:133

Creates a NOTICE message

Parameters

code

CommandStatus

message

string

details?

Record<string, unknown>

Returns

NostrWSMessage