CertUpdateDrep
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / CertUpdateDrep
Class: CertUpdateDrep
Implements
Constructors
new CertUpdateDrep()
new CertUpdateDrep(
__namedParameters
):CertUpdateDrep
Parameters
• __namedParameters: ICertUpdateDrep
Returns
Defined in
src/ledger/certs/CertUpdateDrep.ts:23
Properties
anchor
readonly
anchor:undefined
|Anchor
Implementation of
Defined in
src/ledger/certs/CertUpdateDrep.ts:21
certType
readonly
certType:UpdateDrep
Implementation of
Defined in
src/ledger/certs/CertUpdateDrep.ts:19
drepCredential
readonly
drepCredential:Credential
<CredentialType
>
Implementation of
ICertUpdateDrep
.drepCredential
Defined in
src/ledger/certs/CertUpdateDrep.ts:20
Methods
getRequiredSigners()
getRequiredSigners():
Hash28
[]
Returns
Hash28
[]
Implementation of
Defined in
src/ledger/certs/CertUpdateDrep.ts:50
toCbor()
toCbor():
CborString
Returns
CborString
Defined in
src/ledger/certs/CertUpdateDrep.ts:55
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Defined in
src/ledger/certs/CertUpdateDrep.ts:59
toData()
toData(
version
?):DataConstr
Parameters
• version?: ToDataVersion
Returns
DataConstr
Implementation of
Defined in
src/ledger/certs/CertUpdateDrep.ts:34
toJson()
toJson():
object
Returns
object
anchor
anchor:
null
|object
certType
certType:
"UpdateDrep"
drepCredential
drepCredential:
object
drepCredential.credentialType
credentialType:
string
drepCredential.hash
hash:
string
Defined in
src/ledger/certs/CertUpdateDrep.ts:84
fromCborObj()
static
fromCborObj(cbor
):CertUpdateDrep
Parameters
• cbor: CborObj