diff --git a/src/services/service.ts b/src/services/service.ts index 022d873..3d08856 100755 --- a/src/services/service.ts +++ b/src/services/service.ts @@ -1414,6 +1414,10 @@ export default class Services { return this.sdkClient.hash_value(fileBlob, commitedIn, label); } + public getMerkleProofForFile(processState: ProcessState, attributeName: string): MerkleProofResult { + return this.sdkClient.get_merkle_proof(processState, attributeName); + } + public getLastCommitedState(process: Process): ProcessState | null { if (process.states.length === 0) return null; const processTip = process.states[process.states.length - 1].commited_in;