Skip to main content

CertStakeDeRegistration

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertStakeDeRegistration

Class: CertStakeDeRegistration

Implements

Constructors

new CertStakeDeRegistration()

new CertStakeDeRegistration(__namedParameters): CertStakeDeRegistration

Parameters

__namedParameters: ICertStakeDeRegistration

Returns

CertStakeDeRegistration

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:21

Properties

certType

readonly certType: StakeDeRegistration

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:18


stakeCredential

readonly stakeCredential: Credential<CredentialType>

Implementation of

ICertStakeDeRegistration.stakeCredential

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:19

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:55


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:60


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:64


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:31


toJson()

toJson(): object

Returns

object

certType

certType: "StakeDeRegistration"

stakeCredential

stakeCredential: object

stakeCredential.credentialType

credentialType: string

stakeCredential.hash

hash: string

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:87


fromCborObj()

static fromCborObj(cbor): CertStakeDeRegistration

Parameters

cbor: CborObj

Returns

CertStakeDeRegistration

Defined in

src/ledger/certs/CertStakeDeRegistration.ts:72