@orangecheck/nostr-core / verifyEvent
Function: verifyEvent()
function verifyEvent(event: unknown): event is NostrEvent;
Defined in: index.ts:245
True when event is well-formed, its id equals the NIP-01 hash of its
content, and sig is a valid BIP-340 signature of that id by pubkey.
Parameters
| Parameter | Type |
|---|---|
event | unknown |
Returns
event is NostrEvent