Skip to main content

DataConstr

@harmoniclabs/plutus-dataReadme | API


@harmoniclabs/plutus-data / DataConstr

Class: DataConstr

Constructors

new DataConstr(constr, fields)

new DataConstr(constr, fields): DataConstr

Parameters

constr: CanBeUInteger

fields: Data[]

Returns

DataConstr

Source

DataConstr.ts:13

Properties

_constr

private _constr: bigint

Source

DataConstr.ts:7


_fields

private _fields: Data[]

Source

DataConstr.ts:10

Accessors

constr

get constr(): bigint

Returns

bigint

Source

DataConstr.ts:8


fields

get fields(): Data[]

Returns

Data[]

Source

DataConstr.ts:11

Methods

clone()

clone(): DataConstr

Returns

DataConstr

Source

DataConstr.ts:24


toJson()

toJson(): any

Returns

any

Source

DataConstr.ts:34


toString()

toString(): string

Returns

string

Source

DataConstr.ts:42