int
Last updated
Was this helpful?
Creates a Clarity int type (signed 128-bit integer), represented as a JS object. Alias for intCV.
import { Cl } from '@stacks/transactions';
Cl.int(100);
Cl.int(-100);
Cl.int(100n); // BigInt also acceptedconst int: (value: IntegerType) => IntCV;IntCV
A Clarity signed integer value object.
Type: IntegerType (number | bigint | string)
The signed integer value. Must fit within the Clarity 128-bit signed integer range.
Last updated
Was this helpful?
Was this helpful?