Skip to main content

maxField

@midnight/ledger v7.0.0


@midnight/ledger / maxField

Function: maxField()

function maxField(): bigint;

Returns the maximum representable value in the proof systems scalar field (that is, 1 less than the prime modulus)

Returns

bigint