nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / validateEvent

Function: validateEvent()

validateEvent(event): NostrEventValidationResult

Validates a Nostr event according to NIP-01

Parameters

event

unknown

Returns

NostrEventValidationResult

Defined in

nips/nip-01.ts:108