Skip to main content

CertUpdateDrep

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertUpdateDrep

Class: CertUpdateDrep

Implements

Constructors

new CertUpdateDrep()

new CertUpdateDrep(__namedParameters): CertUpdateDrep

Parameters

__namedParameters: ICertUpdateDrep

Returns

CertUpdateDrep

Defined in

src/ledger/certs/CertUpdateDrep.ts:23

Properties

anchor

readonly anchor: undefined | Anchor

Implementation of

ICertUpdateDrep.anchor

Defined in

src/ledger/certs/CertUpdateDrep.ts:21


certType

readonly certType: UpdateDrep

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertUpdateDrep.ts:19


drepCredential

readonly drepCredential: Credential<CredentialType>

Implementation of

ICertUpdateDrep.drepCredential

Defined in

src/ledger/certs/CertUpdateDrep.ts:20

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertUpdateDrep.ts:50


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertUpdateDrep.ts:55


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertUpdateDrep.ts:59


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertUpdateDrep.ts:34


toJson()

toJson(): object

Returns

object

anchor

anchor: null | object

certType

certType: "UpdateDrep"

drepCredential

drepCredential: object

drepCredential.credentialType

credentialType: string

drepCredential.hash

hash: string

Defined in

src/ledger/certs/CertUpdateDrep.ts:84


fromCborObj()

static fromCborObj(cbor): CertUpdateDrep

Parameters

cbor: CborObj

Returns

CertUpdateDrep

Defined in

src/ledger/certs/CertUpdateDrep.ts:68