Helios API/ API Reference/ Classes/

ListData

Represents a list of other UplcData instances.

Hierarchy

Index

Constructors

constructor

new ListData(items)

Parameters

NameType
itemsUplcData[]

Overrides

UplcData.constructor

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

NameType
otherUplcData

Returns

boolean

Inherited from

UplcData.isSame

toCbor

toCbor(): number[]

Returns

number[]

Inherited from

UplcData.toCbor

toCborHex

toCborHex(): string

Returns

string

Inherited from

UplcData.toCborHex

toSchemaJson

toSchemaJson(): string

Returns

string

Inherited from

UplcData.toSchemaJson

transfer

transfer(other): any

Parameters

NameType
otherTransferUplcAst

Returns

any

Inherited from

UplcData.transfer

fromCbor

Static fromCbor(bytes): ListData

Parameters

NameType
bytesnumber[]

Returns

ListData

Overrides

UplcData.fromCbor