API Reference / canonicalDigest · function
Function: canonicalDigest()
function canonicalDigest(value): string;
sha256 over the canonical encoding: the content address of any canonical value. Throws (via canonicalEncode) if a float leaked in.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
Returns
string