Skip to main content

VKeyWitness

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / VKeyWitness

Class: VKeyWitness

Implements

Constructors

new VKeyWitness()

new VKeyWitness(vkey, signature): VKeyWitness

Parameters

vkey: Hash32

signature: Signature

Returns

VKeyWitness

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:18

Properties

signature

readonly signature: Signature

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:16


vkey

readonly vkey: VKey

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:15

Methods

clone()

clone(): VKeyWitness

Returns

VKeyWitness

Implementation of

Cloneable.clone

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:41


toCbor()

toCbor(): CborString

Returns

CborString

Implementation of

ToCbor.toCbor

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:49


toCborObj()

toCborObj(): CborObj

Returns

CborObj

Implementation of

ToCbor.toCborObj

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:53


toJson()

toJson(): object

Returns

object

signature

signature: string

vkey

vkey: string

Implementation of

ToJson.toJson

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:76


fromCbor()

static fromCbor(cStr): VKeyWitness

Parameters

cStr: CanBeCborString

Returns

VKeyWitness

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:61


fromCborObj()

static fromCborObj(cObj): VKeyWitness

Parameters

cObj: CborObj

Returns

VKeyWitness

Defined in

src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:65