Helios API/ API Reference/ Classes/
HInt
Helios Int type
Deprecated
Hierarchy
-
↳
HInt
Index
Constructors
constructor
• new HInt(rawValue
)
Parameters
Name | Type |
---|---|
rawValue | HIntProps |
Overrides
Accessors
value
• get
value(): bigint
Returns
bigint
Methods
add
▸ add(other
): HInt
Parameters
Returns
dump
▸ dump(): string
Returns
string
eq
▸ eq(other
): boolean
Parameters
Returns
boolean
ge
▸ ge(other
): boolean
Parameters
Returns
boolean
gt
▸ gt(other
): boolean
Parameters
Returns
boolean
le
▸ le(other
): boolean
Parameters
Returns
boolean
lt
▸ lt(other
): boolean
Parameters
Returns
boolean
mul
▸ mul(other
): HInt
Parameters
Returns
neq
▸ neq(other
): boolean
Parameters
Returns
boolean
sub
▸ sub(other
): HInt
Parameters
Returns
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
toSchemaJson
▸ toSchemaJson(): string
Returns
string
Inherited from
fromCbor
▸ Static
fromCbor(bytes
): HInt
Parameters
Name | Type |
---|---|
bytes | number [] |
Returns
fromProps
▸ Static
fromProps(props
): HInt
Parameters
Returns
fromUplcCbor
▸ Static
fromUplcCbor(bytes
): HInt
Parameters
Name | Type |
---|---|
bytes | string | number [] |
Returns
fromUplcData
▸ Static
fromUplcData(data
): HInt
Parameters
Name | Type |
---|---|
data | UplcData |