DataConstr
@harmoniclabs/plutus-data • Readme | API
@harmoniclabs/plutus-data / DataConstr
Class: DataConstr
Constructors
new DataConstr(constr, fields)
new DataConstr(
constr
,fields
):DataConstr
Parameters
• constr: CanBeUInteger
• fields: Data
[]
Returns
Source
Properties
_constr
private
_constr:bigint
Source
_fields
private
_fields:Data
[]
Source
Accessors
constr
get
constr():bigint
Returns
bigint
Source
fields
get
fields():Data
[]
Returns
Data
[]
Source
Methods
clone()
clone():
DataConstr
Returns
Source
toJson()
toJson():
any
Returns
any
Source
toString()
toString():
string
Returns
string