Skip to main content

CertVoteRegistrationDeleg

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertVoteRegistrationDeleg

Class: CertVoteRegistrationDeleg

Implements

Constructors

new CertVoteRegistrationDeleg()

new CertVoteRegistrationDeleg(__namedParameters): CertVoteRegistrationDeleg

Parameters

__namedParameters: ICertVoteRegistrationDeleg

Returns

CertVoteRegistrationDeleg

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:28

Properties

certType

readonly certType: VoteRegistrationDeleg

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:23


coin

readonly coin: bigint

Implementation of

ICertVoteRegistrationDeleg.coin

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:26


drep

readonly drep: DRep

Implementation of

ICertVoteRegistrationDeleg.drep

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:25


stakeCredential

readonly stakeCredential: Credential<CredentialType>

Implementation of

ICertVoteRegistrationDeleg.stakeCredential

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:24

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:58


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:63


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:67


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:40


toJson()

toJson(): object

Returns

object

certType

certType: "VoteRegistrationDeleg"

coin

coin: string

drep

drep: object

drep.drepType

drepType: string

stakeCredential

stakeCredential: object

stakeCredential.credentialType

credentialType: string

stakeCredential.hash

hash: string

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:96


fromCborObj()

static fromCborObj(cbor): CertVoteRegistrationDeleg

Parameters

cbor: CborObj

Returns

CertVoteRegistrationDeleg

Defined in

src/ledger/certs/CertVoteRegistrationDeleg.ts:77