NostrEventDraft

data class NostrEventDraft

An immutable, explicit NIP-01 event body waiting for a signature.

Construction validates the portable timestamp, exact raw tags, and complete signed-event size in Rust. The caller owns the timestamp; signing never reads a hidden clock.

Types

Link copied to clipboard
object Companion

Validated constructor for explicit drafts.

Properties

Link copied to clipboard

event content

Link copied to clipboard

explicit Unix timestamp in seconds

Link copied to clipboard

event kind

Link copied to clipboard

exact ordered raw tags