Skip to main content

CertRegistrationDrep

@harmoniclabs/cardano-ledger-ts • Docs


@harmoniclabs/cardano-ledger-ts / CertRegistrationDrep

Class: CertRegistrationDrep

Implements​

Constructors​

new CertRegistrationDrep()​

new CertRegistrationDrep(__namedParameters): CertRegistrationDrep

Parameters​

• __namedParameters: ICertRegistrationDrep

Returns​

CertRegistrationDrep

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:27

Properties​

anchor​

readonly anchor: undefined | Anchor

Implementation of​

ICertRegistrationDrep.anchor

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:25


certType​

readonly certType: RegistrationDrep

Implementation of​

ICert.certType

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:22


coin​

readonly coin: bigint

Implementation of​

ICertRegistrationDrep.coin

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:24


drepCredential​

readonly drepCredential: Credential<CredentialType>

Implementation of​

ICertRegistrationDrep.drepCredential

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:23

Methods​

getRequiredSigners()​

getRequiredSigners(): Hash28[]

Returns​

Hash28[]

Implementation of​

ICert.getRequiredSigners

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:56


toCbor()​

toCbor(): CborString

Returns​

CborString

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:61


toCborObj()​

toCborObj(): CborArray

Returns​

CborArray

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:65


toData()​

toData(version?): DataConstr

Parameters​

• version?: ToDataVersion

Returns​

DataConstr

Implementation of​

ICert.toData

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:39


toJson()​

toJson(): object

Returns​

object

anchor​

anchor: null | object

certType​

certType: "RegistrationDrep"

coin​

coin: string

stakeCredential​

stakeCredential: object

stakeCredential.credentialType​

credentialType: string

stakeCredential.hash​

hash: string

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:94


fromCborObj()​

static fromCborObj(cbor): CertRegistrationDrep

Parameters​

• cbor: CborObj

Returns​

CertRegistrationDrep

Defined in​

src/ledger/certs/CertRegistrationDrep.ts:75