Function: verifyNostrEvent()
function verifyNostrEvent(event: NostrEvent): boolean;
Defined in: verify.ts:12 (opens in a new tab)
NIP-01: the id is the hash of the event's own fields and the signature verifies against its pubkey.
ParametersLink to this section
| Parameter | Type |
|---|---|
event | NostrEvent |
ReturnsLink to this section
boolean