Skip to main content

parentReferenceOf

HardKAS SDK


HardKAS SDK / artifacts/src / parentReferenceOf

Function: parentReferenceOf()

parentReferenceOf(artifact): string

Defined in: packages/artifacts/src/lineage-chain.ts:36

The parent an artifact references: only the authenticated lineage.parentArtifactId (an empty one is an explicit root), or — for artifacts written before the lineage block — a top-level 64-hex parentArtifactId. Labels (sourcePlanId, sourceSignedId) never resolve a reference.

Parameters​

artifact​

any

Returns​

string