Skip to main content

CertRegistrationDeposit

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertRegistrationDeposit

Class: CertRegistrationDeposit

Implements

Constructors

new CertRegistrationDeposit()

new CertRegistrationDeposit(__namedParameters): CertRegistrationDeposit

Parameters

__namedParameters: ICertRegistrationDeposit

Returns

CertRegistrationDeposit

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:25

Properties

certType

readonly certType: RegistrationDeposit

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:21


deposit

readonly deposit: bigint

Implementation of

ICertRegistrationDeposit.deposit

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:23


stakeCredential

readonly stakeCredential: Credential<CredentialType>

Implementation of

ICertRegistrationDeposit.stakeCredential

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:22

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:62


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:67


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:71


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:36


toJson()

toJson(): object

Returns

object

certType

certType: "RegistrationDeposit"

deposit

deposit: string

stakeCredential

stakeCredential: object

stakeCredential.credentialType

credentialType: string

stakeCredential.hash

hash: string

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:98


fromCborObj()

static fromCborObj(cbor): CertRegistrationDeposit

Parameters

cbor: CborObj

Returns

CertRegistrationDeposit

Defined in

src/ledger/certs/CertRegistrationDeposit.ts:80