CertVoteDeleg
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / CertVoteDeleg
Class: CertVoteDeleg
Implements
Constructors
new CertVoteDeleg()
new CertVoteDeleg(
__namedParameters
):CertVoteDeleg
Parameters
• __namedParameters: ICertVoteDeleg
Returns
Defined in
src/ledger/certs/CertVoteDeleg.ts:24
Properties
certType
readonly
certType:VoteDeleg
Implementation of
Defined in
src/ledger/certs/CertVoteDeleg.ts:20
drep
readonly
drep:DRep
Implementation of
Defined in
src/ledger/certs/CertVoteDeleg.ts:22
stakeCredential
readonly
stakeCredential:Credential
<CredentialType
>
Implementation of
ICertVoteDeleg
.stakeCredential
Defined in
src/ledger/certs/CertVoteDeleg.ts:21
Methods
getRequiredSigners()
getRequiredSigners():
Hash28
[]
Returns
Hash28
[]
Implementation of
Defined in
src/ledger/certs/CertVoteDeleg.ts:53
toCbor()
toCbor():
CborString
Returns
CborString
Defined in
src/ledger/certs/CertVoteDeleg.ts:58
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Defined in
src/ledger/certs/CertVoteDeleg.ts:62
toData()
toData(
version
?):DataConstr
Parameters
• version?: ToDataVersion
Returns
DataConstr
Implementation of
Defined in
src/ledger/certs/CertVoteDeleg.ts:35
toJson()
toJson():
object
Returns
object
certType
certType:
"VoteDeleg"
drep
drep:
object
drep.drepType
drepType:
string
stakeCredential
stakeCredential:
object
stakeCredential.credentialType
credentialType:
string
stakeCredential.hash
hash:
string
Defined in
src/ledger/certs/CertVoteDeleg.ts:87
fromCborObj()
static
fromCborObj(cbor
):CertVoteDeleg
Parameters
• cbor: CborObj