Skip to main content

asVerifierKeyHash

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / asVerifierKeyHash

Function: asVerifierKeyHash()

function asVerifierKeyHash(hex): VerifierKeyHash;

Converts a raw digest to the brand. Rejects rather than normalizes: a digest that needed normalizing didn't come from compactc or the ledger.

Parameters​

hex​

string

Returns​

VerifierKeyHash