BootstrapWitness
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / BootstrapWitness
Class: BootstrapWitness
Implements
ToCborCloneable<BootstrapWitness>ToJson
Constructors
new BootstrapWitness()
new BootstrapWitness(
pubKey,signature,chainCode,attributes):BootstrapWitness
Parameters
• pubKey: Hash32
• signature: Signature
• chainCode: Hash32
• attributes: Uint8Array
Returns
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:20
Properties
attributes
readonlyattributes:Uint8Array
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:18
chainCode
readonlychainCode:Hash32
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:17
pubKey
readonlypubKey:VKey
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:15
signature
readonlysignature:Signature
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:16
Methods
clone()
clone():
BootstrapWitness
Returns
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()
staticfromCbor(cStr):BootstrapWitness
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/tx/TxWitnessSet/BootstrapWitness.ts:87
fromCborObj()
staticfromCborObj(cObj):BootstrapWitness
Parameters
• cObj: CborObj