Skip to main content

CertStakeRegistration

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertStakeRegistration

Class: CertStakeRegistration

Implements

Constructors

new CertStakeRegistration()

new CertStakeRegistration(__namedParameters): CertStakeRegistration

Parameters

__namedParameters: ICertStakeRegistration

Returns

CertStakeRegistration

Defined in

src/ledger/certs/CertStakeRegistration.ts:21

Properties

certType

readonly certType: StakeRegistration

Implementation of

ICert.certType

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

ICert.getRequiredSigners

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

ICert.toData

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

Returns

CertStakeRegistration

Defined in

src/ledger/certs/CertStakeRegistration.ts:72