nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / validateSignedMessage

Function: validateSignedMessage()

validateSignedMessage(message): Promise<boolean>

Validates a signed message

Parameters

message

NostrWSMessage

Message to validate

Returns

Promise<boolean>

Promise resolving to true if message is valid

Defined in

crypto/handlers.ts:19