nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / validateCommandMessage

Function: validateCommandMessage()

validateCommandMessage(message): boolean

Validates a command message according to NIP-20

Parameters

message

NostrWSMessage

Returns

boolean

Defined in

nips/nip-20.ts:55