Hubert - Distributed Infrastructure for Secure Multiparty Transactions - v1.0.0-alpha.20
    Preparing search index...

    Function isReferenceEnvelope

    • Checks if an envelope is a reference envelope.

      A reference envelope contains dereferenceVia: "ipfs" and an id assertion.

      Port of is_reference_envelope() from hybrid/reference.rs lines 53-91.

      Parameters

      • envelope: Envelope

        The envelope to check

      Returns boolean

      true if this is a reference envelope, false otherwise