TxWitnessSet
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxWitnessSet
Class: TxWitnessSet
Implements
ITxWitnessSet
ToCbor
ToJson
Constructors
new TxWitnessSet()
new TxWitnessSet(
witnesses
,allRequiredSigners
):TxWitnessSet
Parameters
• witnesses: ITxWitnessSet
• allRequiredSigners: undefined
| Hash28
[] = undefined
Returns
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:115
Properties
addVKeyWitness()
readonly
addVKeyWitness: (vkeyWit
) =>void
Parameters
• vkeyWit: VKeyWitness
Returns
void
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:101
bootstrapWitnesses?
readonly
optional
bootstrapWitnesses:BootstrapWitness
[]
Implementation of
ITxWitnessSet
.bootstrapWitnesses
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:89
datums?
readonly
optional
datums:Data
[]
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:91
isComplete
readonly
isComplete:boolean
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:113
nativeScripts?
readonly
optional
nativeScripts:Script
<NativeScript
>[]
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:88
plutusV1Scripts?
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:90
plutusV2Scripts?
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:93
plutusV3Scripts?
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:94
redeemers?
readonly
optional
redeemers:TxRedeemer
[]
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:92
vkeyWitnesses?
readonly
optional
vkeyWitnesses:VKeyWitness
[]
Implementation of
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:87
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:223
toCborObj()
toCborObj():
CborObj
Returns
CborObj
Implementation of
ToCbor.toCborObj
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:227
toJson()
toJson():
object
Returns
object
bootstrapWitnesses
bootstrapWitnesses:
undefined
|object
[]
datums
datums:
undefined
|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
)[]
plutusV3Scripts
plutusV3Scripts:
undefined
| (ScriptSignature
|ScriptAll
|ScriptAny
|ScriptAtLeast
|ScriptAfter
|ScriptBefore
|object
)[]
redeemers
redeemers:
undefined
|object
[]
vkeyWitnesses
vkeyWitnesses:
undefined
|object
[]
Implementation of
ToJson.toJson
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:209
fromCbor()
static
fromCbor(cStr
):TxWitnessSet
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/tx/TxWitnessSet/TxWitnessSet.ts:305
fromCborObj()
static
fromCborObj(cObj
):TxWitnessSet
Parameters
• cObj: CborObj