Helios API/ API Reference/ Classes/
IntData
Represents an unbounded integer (bigint).
Hierarchy
-
↳
IntData
Index
Constructors
constructor
• new IntData(value
)
Parameters
Name | Type |
---|---|
value | bigint |
Overrides
Accessors
memSize
• get
memSize(): number
Estimate of memory usage during validation
Returns
number
Inherited from
UplcData.memSize
value
• get
value(): bigint
Returns
bigint
Methods
isSame
▸ isSame(other
): boolean
Compares the schema jsons
Parameters
Name | Type |
---|---|
other | UplcData |
Returns
boolean
Inherited from
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
toSchemaJson
▸ toSchemaJson(): string
Returns
string
Inherited from
transfer
▸ transfer(other
): any
Parameters
Name | Type |
---|---|
other | TransferUplcAst |
Returns
any
Inherited from
fromCbor
▸ Static
fromCbor(bytes
): IntData
Parameters
Name | Type |
---|---|
bytes | number [] |