Arcium LogoArcium TS SDK Docs

IntegerInfo

Constructors

Constructor

new IntegerInfo(signed, width): IntegerInfo

Parameters

ParameterType
signedboolean
widthbigint

Returns

IntegerInfo

Properties

PropertyType
signedboolean
widthbigint

Methods

isWithinBounds()

isWithinBounds(b): boolean

Parameters

ParameterType
bbigint

Returns

boolean


minValue()

minValue(): bigint

Returns

bigint


name()

name(): string

Returns

string


fromJson()

static fromJson(json): IntegerInfo

Parameters

ParameterType
json{ signed: boolean; width: number; }
json.signedboolean
json.widthnumber

Returns

IntegerInfo