Skip to main content

BootstrapWitness

@harmoniclabs/cardano-ledger-ts • Docs


@harmoniclabs/cardano-ledger-ts / BootstrapWitness

Class: BootstrapWitness

Implements​

Constructors​

new BootstrapWitness()​

new BootstrapWitness(pubKey, signature, chainCode, attributes): BootstrapWitness

Parameters​

• pubKey: Hash32

• signature: Signature

• chainCode: Hash32

• attributes: Uint8Array

Returns​

BootstrapWitness

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:20

Properties​

attributes​

readonly attributes: Uint8Array

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:18


chainCode​

readonly chainCode: Hash32

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:17


pubKey​

readonly pubKey: VKey

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:15


signature​

readonly signature: Signature

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:16

Methods​

clone()​

clone(): BootstrapWitness

Returns​

BootstrapWitness

Implementation of​

Cloneable.clone

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:63


toCbor()​

toCbor(): CborString

Returns​

CborString

Implementation of​

ToCbor.toCbor

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:73


toCborObj()​

toCborObj(): CborObj

Returns​

CborObj

Implementation of​

ToCbor.toCborObj

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:77


toJson()​

toJson(): object

Returns​

object

attributes​

attributes: string

chainCode​

chainCode: string

pubKey​

pubKey: string

signature​

signature: string

Implementation of​

ToJson.toJson

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:107


fromCbor()​

static fromCbor(cStr): BootstrapWitness

Parameters​

• cStr: CanBeCborString

Returns​

BootstrapWitness

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:87


fromCborObj()​

static fromCborObj(cObj): BootstrapWitness

Parameters​

• cObj: CborObj

Returns​

BootstrapWitness

Defined in​

src/tx/TxWitnessSet/BootstrapWitness.ts:91