VKeyWitness
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / VKeyWitness
Class: VKeyWitness
Implements
ToCbor
Cloneable
<VKeyWitness
>ToJson
Constructors
new VKeyWitness()
new VKeyWitness(
vkey
,signature
):VKeyWitness
Parameters
• vkey: Hash32
• signature: Signature
Returns
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
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
Defined in
src/tx/TxWitnessSet/VKeyWitness/VKeyWitness.ts:61
fromCborObj()
static
fromCborObj(cObj
):VKeyWitness
Parameters
• cObj: CborObj