Loosely typed event template: kind is required, everything else optional.
kind
const template: MockEventTemplate = { kind: 1, content: 'hello' }; Copy
const template: MockEventTemplate = { kind: 1, content: 'hello' };
Optional
Event content (typically plaintext or JSON string)
Unix timestamp (seconds since epoch)
Event kind.
Event tags (NIP-01 tag arrays)
Loosely typed event template:
kindis required, everything else optional.Example