Skip to main content

CertVoteDeleg

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertVoteDeleg

Class: CertVoteDeleg

Implements

Constructors

new CertVoteDeleg()

new CertVoteDeleg(__namedParameters): CertVoteDeleg

Parameters

__namedParameters: ICertVoteDeleg

Returns

CertVoteDeleg

Defined in

src/ledger/certs/CertVoteDeleg.ts:24

Properties

certType

readonly certType: VoteDeleg

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertVoteDeleg.ts:20


drep

readonly drep: DRep

Implementation of

ICertVoteDeleg.drep

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

ICert.getRequiredSigners

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

ICert.toData

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

Returns

CertVoteDeleg

Defined in

src/ledger/certs/CertVoteDeleg.ts:71