Skip to main content

build_clinical_attachment_envelope

Function build_clinical_attachment_envelope 

Source
pub fn build_clinical_attachment_envelope(
    meta: &AttachmentMeta,
    owner_did: &str,
    author_did: &str,
    asserted_unix: u32,
) -> RecordEnvelope
Expand description

Build the record envelope for an attachment’s metadata. The blob hash is carried both as the content anchor and (redundantly for the graph) as the envelope blob_hash.