Helios API/ API Reference/ Classes/

UplcConst

Plutus-core const term (i.e. a literal in conventional sense)

Hierarchy

Index

Constructors

constructor

new UplcConst(value)

Parameters

NameType
valueUplcValue

Overrides

UplcTerm.constructor

Properties

value

Readonly value: UplcValue

Accessors

flatSize

get flatSize(): number

Returns

number

site

get site(): Site

Returns

Site

Inherited from

UplcTerm.site

type

get type(): number

Returns

number

Inherited from

UplcTerm.type

Methods

toString

toString(): string

Generic term toString method

Returns

string

Inherited from

UplcTerm.toString

transfer

transfer(other): any

Parameters

NameType
otherTransferUplcAst

Returns

any

Inherited from

UplcTerm.transfer