AccountOutgoing

Atomic outgoing account operations.

Functions

Link copied to clipboard
fun enqueueRumor(operationId: String, rumor: NostrRumor, recipients: List<NostrPublicKey>, notificationRecipients: List<NostrPublicKey> = emptyList(), relayUrls: List<String>, kind: Nip59EnvelopeKind, now: Long): AccountOperationResult

Create fresh NIP-59 copies, commit local echo and every relay intent once.

Link copied to clipboard
fun enqueueSigned(operationId: String, events: List<SignedNostrEvent>, relayUrls: List<String>, now: Long): AccountOperationResult

Commit already signed direct protocol events before transport sees them.