pub struct ReceiptProof {
pub anchor: Option<ReceiptProofAnchor>,
pub audit_path: Vec<String>,
pub citable_id: Option<String>,
pub day: Option<NaiveDate>,
pub leaf_hash: Option<String>,
pub leaf_index: Option<i64>,
pub payload_hash: Option<String>,
pub root_hash: Option<String>,
pub schema_version: Option<String>,
pub sigsum: Option<ReceiptProofSigsum>,
pub tree_size: Option<i64>,
}Expand description
RFC-6962 inclusion proof for a receipt’s leaf in its day’s Merkle
tree, with Tempo anchor and Sigsum witness-cosigning evidence for
that day’s root (gh#885 daily-root-only anchoring). Returned by
GET /receipts/{payload_hash}/proof.
Fields§
§anchor: Option<ReceiptProofAnchor>The Tempo on-chain anchor for that day’s root. Null before the day’s root has been anchored (daily roll-up + anchor happens once per day, the next day).
audit_path: Vec<String>0x-prefixed sibling hashes proving leaf_hash includes under
root_hash. Selective disclosure by construction — never
sibling receipts’ identifiers.
citable_id: Option<String>Stable citation id derived from the payload hash (precedent registry, gh#126)
day: Option<NaiveDate>UTC day (YYYY-MM-DD) whose Merkle batch this leaf belongs to
leaf_hash: Option<String>0x-prefixed hash of this receipt’s leaf
leaf_index: Option<i64>This receipt’s zero-based leaf index in that day’s tree
payload_hash: Option<String>0x-prefixed SHA-256 payload hash of the receipt this proof covers
root_hash: Option<String>0x-prefixed root hash of that day’s Merkle tree
schema_version: Option<String>§sigsum: Option<ReceiptProofSigsum>Sigsum witness-cosigning evidence for that day’s root. Null when
no log round-trip happened for that day (for example
SIGSUM_LOG_URL unset).
tree_size: Option<i64>Number of leaves in that day’s Merkle tree