CertStakeRegistration
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / CertStakeRegistration
Class: CertStakeRegistration
Implements
Constructors
new CertStakeRegistration()
new CertStakeRegistration(
__namedParameters
):CertStakeRegistration
Parameters
• __namedParameters: ICertStakeRegistration
Returns
Defined in
src/ledger/certs/CertStakeRegistration.ts:21
Properties
certType
readonly
certType:StakeRegistration
Implementation of
Defined in
src/ledger/certs/CertStakeRegistration.ts:18
stakeCredential
readonly
stakeCredential:Credential
<CredentialType
>
Implementation of
ICertStakeRegistration
.stakeCredential
Defined in
src/ledger/certs/CertStakeRegistration.ts:19
Methods
getRequiredSigners()
getRequiredSigners():
Hash28
[]
Returns
Hash28
[]
Implementation of
Defined in
src/ledger/certs/CertStakeRegistration.ts:55
toCbor()
toCbor():
CborString
Returns
CborString
Defined in
src/ledger/certs/CertStakeRegistration.ts:60
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Defined in
src/ledger/certs/CertStakeRegistration.ts:64
toData()
toData(
version
?):DataConstr
Parameters
• version?: ToDataVersion
Returns
DataConstr
Implementation of
Defined in
src/ledger/certs/CertStakeRegistration.ts:31
toJson()
toJson():
object
Returns
object
certType
certType:
"StakeRegistration"
stakeCredential
stakeCredential:
object
stakeCredential.credentialType
credentialType:
string
stakeCredential.hash
hash:
string
Defined in
src/ledger/certs/CertStakeRegistration.ts:87
fromCborObj()
static
fromCborObj(cbor
):CertStakeRegistration
Parameters
• cbor: CborObj