Skip to main content

CertStakeDelegation

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertStakeDelegation

Class: CertStakeDelegation

Implements

Constructors

new CertStakeDelegation()

new CertStakeDelegation(__namedParameters): CertStakeDelegation

Parameters

__namedParameters: ICertStakeDelegation

Returns

CertStakeDelegation

Defined in

src/ledger/certs/CertStakeDelegation.ts:23

Properties

certType

readonly certType: StakeDelegation

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertStakeDelegation.ts:19


poolKeyHash

readonly poolKeyHash: Hash28

Implementation of

ICertStakeDelegation.poolKeyHash

Defined in

src/ledger/certs/CertStakeDelegation.ts:21


stakeCredential

readonly stakeCredential: Credential<CredentialType>

Implementation of

ICertStakeDelegation.stakeCredential

Defined in

src/ledger/certs/CertStakeDelegation.ts:20

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertStakeDelegation.ts:65


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertStakeDelegation.ts:70


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertStakeDelegation.ts:74


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertStakeDelegation.ts:34


toJson()

toJson(): object

Returns

object

certType

certType: "StakeDelegation"

poolKeyHash

poolKeyHash: string

stakeCredential

stakeCredential: object

stakeCredential.credentialType

credentialType: string

stakeCredential.hash

hash: string

Defined in

src/ledger/certs/CertStakeDelegation.ts:99


fromCborObj()

static fromCborObj(cbor): CertStakeDelegation

Parameters

cbor: CborObj

Returns

CertStakeDelegation

Defined in

src/ledger/certs/CertStakeDelegation.ts:83