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

ParameterType
valueunknown

Returns

string

Start building

Quickstart →