AuxiliaryData
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / AuxiliaryData
Class: AuxiliaryData
Implements
IAuxiliaryData
ToCbor
ToJson
Constructors
new AuxiliaryData()
new AuxiliaryData(
auxData
):AuxiliaryData
Parameters
• auxData: IAuxiliaryData
Returns
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:36
Properties
hash
readonly
hash:AuxiliaryDataHash
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:34
metadata?
readonly
optional
metadata:TxMetadata
Implementation of
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:29
nativeScripts?
readonly
optional
nativeScripts:Script
<NativeScript
>[]
Implementation of
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:30
plutusV1Scripts?
Implementation of
IAuxiliaryData
.plutusV1Scripts
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:31
plutusV2Scripts?
Implementation of
IAuxiliaryData
.plutusV2Scripts
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:32
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:167
toCborObj()
toCborObj():
CborTag
Returns
CborTag
Implementation of
ToCbor.toCborObj
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:171
toJson()
toJson():
object
Returns
object
metadata
metadata:
any
nativeScripts
nativeScripts:
undefined
| (ScriptSignature
|ScriptAll
|ScriptAny
|ScriptAtLeast
|ScriptAfter
|ScriptBefore
|object
)[]
plutusV1Scripts
plutusV1Scripts:
undefined
| (ScriptSignature
|ScriptAll
|ScriptAny
|ScriptAtLeast
|ScriptAfter
|ScriptBefore
|object
)[]
plutusV2Scripts
plutusV2Scripts:
undefined
| (ScriptSignature
|ScriptAll
|ScriptAny
|ScriptAtLeast
|ScriptAfter
|ScriptBefore
|object
)[]
Implementation of
ToJson.toJson
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:287
fromCbor()
static
fromCbor(cStr
):AuxiliaryData
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/tx/AuxiliaryData/AuxiliaryData.ts:200
fromCborObj()
static
fromCborObj(cObj
):AuxiliaryData
Parameters
• cObj: CborObj