Skip to main content

verify_inclusion

Function verify_inclusion 

Source
pub fn verify_inclusion(event: &Value, statement: &Value, batch: &Value) -> bool
Expand description

Whether a batch-signed event (JSON) is in the batch its statement describes: its inclusion proof leads to the statement’s root, and its provenance matches the statement (boot epoch, key, sequence range). The statement’s signature is checked separately.