Interface: BTCR2UnsignedUpdate ​
Defined in: data-integrity-proof/interface.ts:10
A BTCR2 Update without a data integrity proof. See BTCR2 Unsigned Update (data structure).
Extended by ​
Properties ​
@context ​
@context:
string[]
Defined in: data-integrity-proof/interface.ts:15
JSON-LD context URIs for interpreting this payload, including contexts for ZCAP (capabilities), Data Integrity proofs, and JSON-LD patch ops.
patch ​
patch:
JsonPatch
Defined in: data-integrity-proof/interface.ts:22
A JSON Patch (or JSON-LD Patch) object defining the mutations to apply to the DID Document. Applying this patch to the current DID Document yields the new DID Document (which must remain valid per DID Core spec).
sourceHash ​
sourceHash:
string
Defined in: data-integrity-proof/interface.ts:29
The multihash of the current (source) DID Document, encoded as a multibase base58-btc string. This is a SHA-256 hash of the canonicalized source DID Document, used to ensure the patch is applied to the correct document state.
targetHash ​
targetHash:
string
Defined in: data-integrity-proof/interface.ts:36
The multihash of the updated (target) DID Document, encoded as multibase base58-btc. This is the SHA-256 hash of the canonicalized DID Document after applying the patch, used to verify the update result.
targetVersionId ​
targetVersionId:
number
Defined in: data-integrity-proof/interface.ts:42
The version number of the DID Document after this update. It is equal to the previous document version + 1.