Companion

object Companion

Validated constructors for untrusted wire events.

Functions

Link copied to clipboard
fun fromWire(id: String, publicKey: String, createdAt: Long, kind: Int, tags: List<List<String>>, content: String, signature: String): SignedNostrEvent

Verify fields decoded by a platform JSON library in one Rust call.

Link copied to clipboard

Parse and cryptographically verify one untrusted wire event.