Helios API/ API Reference/ Classes/
UplcData
Base class for Plutus-core data classes (not the same as Plutus-core value classes!)
Hierarchy
-
↳
UplcData
↳↳
IntData
↳↳
ListData
↳↳
MapData
↳↳
ConstrData
Index
Constructors
constructor
• new UplcData()
Inherited from
Accessors
memSize
• get
memSize(): number
Estimate of memory usage during validation
Returns
number
Methods
isSame
▸ isSame(other
): boolean
Compares the schema jsons
Parameters
Name | Type |
---|---|
other | UplcData |
Returns
boolean
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
toSchemaJson
▸ toSchemaJson(): string
Returns
string
transfer
▸ transfer(other
): any
Parameters
Name | Type |
---|---|
other | TransferUplcAst |
Returns
any
fromCbor
▸ Static
fromCbor(bytes
): UplcData
Parameters
Name | Type |
---|---|
bytes | string | number [] |