Skip to main content
Version: 11.x

Variable: UINT_128_MAX

const UINT_128_MAX: bigint

Defined in: src/utils/cairoDataTypes/uint256.ts:19

The largest u128, and the mask that cuts a u256 in two.

Example​

const result = UINT_128_MAX;
// result = 340282366920938463463374607431768211455n