Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/security / / verifyAuditInclusion

Function: verifyAuditInclusion()

ts
function verifyAuditInclusion(
   entry, 
   proof, 
   head): boolean;

Defined in: packages/security/src/audit/merkle.ts:211

Verify an inclusion proof (RFC 6962 §2.1.1 verification algorithm) - pure; needs only the entry, the proof, and the trusted head.

Parameters

ParameterType
entryStoredAuditEntry
proofAuditInclusionProof
headAuditTreeHead

Returns

boolean

Stable