Private
#bytesPrivate
#constrPrivate
#integerPrivate
#kindPrivate
#listPrivate
#mapPrivate
#originalDown casts this PlutusData instance as a ConstrPlutusData instance.
The ConstrPlutusData instance or undefined if it can not be 'down cast'.
Down casts this PlutusData instance as a PlutusList instance.
The PlutusList instance or undefined if it can not be 'down cast'.
Down casts this PlutusData instance as a PlutusMap instance.
The PlutusMap instance or undefined if it can not be 'down cast'.
Indicates whether some other PlutusData is "equal to" this one.
true if objects are equals; otherwise false.
The other object to be compared.
Gets the underlying type of this PlutusData instance.
The underlying type.
Computes the plutus data hash.
the plutus data hash.
Creates a Core Tx object from the current PlutusData object.
The PlutusData object.
Static
Private
bigintStatic
Private
bufferStatic
fromDeserializes a PlutusData instance from its CBOR representation.
A PlutusData instance.
The CBOR representation of this instance as a Uint8Array.
Static
fromCreates a PlutusData object from the given Core PlutusData object.
The core PlutusData object.
Static
Private
mapMaps to Core plutus list from PlutusList.
The PlutusList
Static
Private
mapMaps to PlutusList from a core plutus list.
The core plutus list.
Static
newCreate a PlutusData type from the given Uint8Array.
The Uint8Array as a PlutusList object.
The Uint8Array to be 'cast' as PlutusData.
Static
newCreate a PlutusData type from the given ConstrPlutusData.
The ConstrPlutusData as a PlutusData object.
The ConstrPlutusData to be 'cast' as PlutusData.
Static
newCreate a PlutusData type from the given bigint.
The bigint as a PlutusList object.
The bigint to be 'cast' as PlutusData.
Static
newCreate a PlutusData type from the given PlutusList.
The PlutusMap as a PlutusList object.
The PlutusList to be 'cast' as PlutusData.
Static
newCreate a PlutusData type from the given PlutusMap.
The PlutusMap as a PlutusData object.
The PlutusMap to be 'cast' as PlutusData.
Generated using TypeDoc
A type corresponding to the Plutus Core Data datatype.
The point of this type is to be opaque as to ensure that it is only used in ways that plutus scripts can handle.
Use this type to build any data structures that you want to be representable on-chain.