Initializes a new instance of the ConstrPlutusData class.
Get the Constr alternative. The alternative represents the nth constructor of a 'Sum Type'.
Gets the list of arguments of the 'Sum Type' as a 'PlutusList'.
Private Readonly #alternativePrivate Readonly #dataIndicates whether some other ConstrPlutusData is "equal to" this one.
true if objects are equals; otherwise false.
The other object to be compared.
The list of arguments of the 'Sum Type' as a 'PlutusList'.
The list of arguments.
Static Private alternativeStatic Private compactStatic fromDeserializes a ConstrPlutusData instance from its CBOR representation.
A ConstrPlutusData instance.
The CBOR representation of this instance as a Uint8Array.
Generated using TypeDoc
The main datatype
Constrrepresents the nth constructor along with its arguments.Remark: We don't directly serialize the alternative in the tag, instead the scheme is: