function · Browser and Node
fieldFromHex
Reads fieldToHex's form. Throws on anything else, and at or above the modulus.
@toip-tools/anon-membershipView sourceimport { fieldFromHex } from "@toip-tools/anon-membership";
Declaration
fieldFromHex(hex: string): Field;
Parameters
hexrequiredstring
Returns
bigint