Deserializes application data bytes back into a rumor, enforcing the Marmot
inner-event encoding rules (foundation/application-messages.md §Encoding).
Strict decode: the payload MUST be a JSON object carrying exactly the six
members id, pubkey, created_at, kind, tags, content (no sig, no unknown
members), and its id MUST equal the canonical NIP-01 event id recomputed
from the other members (lowercase-hex SHA-256 of [0, pubkey, created_at, kind, tags, content]). A mismatch or extra/missing member is rejected — this
is the integrity half of the authorship checks; the verifyApplicationRumorAuthorship layer adds the MLS-sender binding.
Deserializes application data bytes back into a rumor, enforcing the Marmot inner-event encoding rules (
foundation/application-messages.md§Encoding).Strict decode: the payload MUST be a JSON object carrying exactly the six members
id, pubkey, created_at, kind, tags, content(nosig, no unknown members), and itsidMUST equal the canonical NIP-01 event id recomputed from the other members (lowercase-hex SHA-256 of[0, pubkey, created_at, kind, tags, content]). A mismatch or extra/missing member is rejected — this is the integrity half of the authorship checks; the verifyApplicationRumorAuthorship layer adds the MLS-sender binding.