Skip to main content

TxWitnessSet

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / TxWitnessSet

Class: TxWitnessSet

Implements

Constructors

new TxWitnessSet()

new TxWitnessSet(witnesses, allRequiredSigners): TxWitnessSet

Parameters

witnesses: ITxWitnessSet

allRequiredSigners: undefined | Hash28[] = undefined

Returns

TxWitnessSet

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

ITxWitnessSet.datums

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

ITxWitnessSet.nativeScripts

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:88


plutusV1Scripts?

readonly optional plutusV1Scripts: Script<PlutusV1>[]

Implementation of

ITxWitnessSet.plutusV1Scripts

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:90


plutusV2Scripts?

readonly optional plutusV2Scripts: Script<PlutusV2>[]

Implementation of

ITxWitnessSet.plutusV2Scripts

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:93


plutusV3Scripts?

readonly optional plutusV3Scripts: Script<PlutusV3>[]

Implementation of

ITxWitnessSet.plutusV3Scripts

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:94


redeemers?

readonly optional redeemers: TxRedeemer[]

Implementation of

ITxWitnessSet.redeemers

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:92


vkeyWitnesses?

readonly optional vkeyWitnesses: VKeyWitness[]

Implementation of

ITxWitnessSet.vkeyWitnesses

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

TxWitnessSet

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:305


fromCborObj()

static fromCborObj(cObj): TxWitnessSet

Parameters

cObj: CborObj

Returns

TxWitnessSet

Defined in

src/tx/TxWitnessSet/TxWitnessSet.ts:309