AccountEvents

Exact authenticated event detail and relationship queries.

Functions

Link copied to clipboard
suspend fun canonicalJson(eventId: NostrEventId): String

Return exact canonical signed-event JSON retained as protocol truth.

Link copied to clipboard
suspend fun get(eventId: NostrEventId): AccountEventNode?

Return one authenticated projection by its logical event ID.

Link copied to clipboard
fun observe(eventId: NostrEventId): Flow<AccountEventNode?>

Observe one exact authenticated projection after durable account changes.

Link copied to clipboard
suspend fun relatedTo(eventId: NostrEventId, kind: ProjectionKind? = null, limit: Int = 50, offset: Int = 0): List<AccountEventNode>

Return authenticated events that directly target eventId.