Skip to main content

verifierKeyHashOf

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / verifierKeyHashOf

Function: verifierKeyHashOf()

function verifierKeyHashOf(verifierKey): VerifierKeyHash;

Fingerprints a deployed operation's verifier key, by the same computation the compiler applies to keys/<circuit>.verifier. Throws on an empty key: that is OperationAbsent, for the caller to raise.

Parameters​

verifierKey​

Uint8Array

Returns​

VerifierKeyHash