Helios API/ API Reference/ Classes/
ListData
Represents a list of other UplcData
instances.
Hierarchy
-
↳
ListData
Index
Constructors
constructor
• new ListData(items
)
Parameters
Name | Type |
---|---|
items | UplcData [] |
Overrides
Accessors
memSize
• get
memSize(): number
Estimate of memory usage during validation
Returns
number
Inherited from
UplcData.memSize
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
): ListData
Parameters
Name | Type |
---|---|
bytes | number [] |