Blockchain Commons Components TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface ReferenceProvider

    Implementers of this interface provide a globally unique reference to themselves.

    The ReferenceProvider interface is used to create a unique, cryptographic reference to an object. This is particularly useful for distributed systems where objects need to be uniquely identified across networks or storage systems.

    The reference is derived from a cryptographic digest of the object's serialized form, ensuring that the reference uniquely identifies the object's contents.

    interface ReferenceProvider {
        reference(): Reference;
    }

    Implemented by

    Index

    Methods

    Methods

    • Returns a cryptographic reference that uniquely identifies this object.

      The reference is derived from a digest of the object's serialized form, ensuring that it uniquely identifies the object's contents.

      Returns Reference