Helios API/ API Reference/ Classes/
MapData
Represents a list of pairs of other UplcData
instances.
Hierarchy
-
↳
MapData
Index
Constructors
constructor
• new MapData(pairs
)
Parameters
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
): MapData
Parameters
Name | Type |
---|---|
bytes | number [] |