function · Browser and Node
leafHash
H(4, commitment, schemaId, validUntilDay, registeredDay, attrs[0], attrs[1], attrs[2], attrs[3]).
@toip-tools/anon-membershipView sourceimport { leafHash } from "@toip-tools/anon-membership";
Declaration
leafHash(leaf: Leaf): Field;
Parameters
leafrequiredLeaf
Returns
bigint