Skip to main content

CertStakeVoteDeleg

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertStakeVoteDeleg

Class: CertStakeVoteDeleg

Implements

Constructors

new CertStakeVoteDeleg()

new CertStakeVoteDeleg(__namedParameters): CertStakeVoteDeleg

Parameters

__namedParameters: ICertStakeVoteDeleg

Returns

CertStakeVoteDeleg

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:26

Properties

certType

readonly certType: StakeVoteDeleg

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:21


drep

readonly drep: DRep

Implementation of

ICertStakeVoteDeleg.drep

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:24


poolKeyHash

readonly poolKeyHash: Hash28

Implementation of

ICertStakeVoteDeleg.poolKeyHash

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:23


stakeCredential

readonly stakeCredential: Credential<CredentialType>

Implementation of

ICertStakeVoteDeleg.stakeCredential

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:22

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:69


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:74


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:78


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:38


toJson()

toJson(): object

Returns

object

certType

certType: "StakeVoteDeleg"

drep

drep: object

drep.drepType

drepType: string

poolKeyHash

poolKeyHash: string

stakeCredential

stakeCredential: object

stakeCredential.credentialType

credentialType: string

stakeCredential.hash

hash: string

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:105


fromCborObj()

static fromCborObj(cbor): CertStakeVoteDeleg

Parameters

cbor: CborObj

Returns

CertStakeVoteDeleg

Defined in

src/ledger/certs/CertStakeVoteDeleg.ts:88