Function getRequiredPODValueForCircuit

  • As getPODValueForCircuit but throws a TypeError if the value is not of a numeric type.

    Parameters

    • podValue: PODValue

      the value to convert

    • Optional nameForErrorMesages: string

      the name of this value, which is used only for error messages (not checked for legality).

    Returns bigint

    the numeric value, or undefined if this value cannot be represented in a circuit

Generated using TypeDoc