@blockchaincommons/provenance-mark - v1.0.0-beta.3
    Preparing search index...

    Interface ProvenanceMarkInput

    What ProvenanceMark.from takes.

    interface ProvenanceMarkInput {
        res: ProvenanceMarkResolution;
        key: Uint8Array;
        nextKey: Uint8Array;
        chainId: Uint8Array;
        seq: number;
        date: DateInput;
        info?: CborInput;
    }
    Index

    The resolution, which fixes every field's width.

    key: Uint8Array

    This mark's key; the genesis mark's is the chain id.

    nextKey: Uint8Array

    The next mark's key, committed to in this mark's hash.

    chainId: Uint8Array

    The chain id: the genesis mark's key.

    seq: number

    The sequence number, 0 for genesis.

    date: DateInput

    The date, a Date or a CborDate; stored at the resolution's precision.

    info?: CborInput

    Any CBOR the mark carries: a Cbor, a ToCbor, or a value dcbor encodes (text, numbers, bytes, arrays, maps).