Skip to main content

CertPoolRegistration

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / CertPoolRegistration

Class: CertPoolRegistration

Implements

Constructors

new CertPoolRegistration()

new CertPoolRegistration(__namedParameters): CertPoolRegistration

Parameters

__namedParameters: ICertPoolRegistration

Returns

CertPoolRegistration

Defined in

src/ledger/certs/CertPoolRegistration.ts:21

Properties

certType

readonly certType: PoolRegistration

Implementation of

ICert.certType

Defined in

src/ledger/certs/CertPoolRegistration.ts:18


poolParams

readonly poolParams: PoolParams

Implementation of

ICertPoolRegistration.poolParams

Defined in

src/ledger/certs/CertPoolRegistration.ts:19

Methods

getRequiredSigners()

getRequiredSigners(): Hash28[]

Returns

Hash28[]

Implementation of

ICert.getRequiredSigners

Defined in

src/ledger/certs/CertPoolRegistration.ts:55


toCbor()

toCbor(): CborString

Returns

CborString

Defined in

src/ledger/certs/CertPoolRegistration.ts:63


toCborObj()

toCborObj(): CborArray

Returns

CborArray

Defined in

src/ledger/certs/CertPoolRegistration.ts:67


toData()

toData(version?): DataConstr

Parameters

version?: ToDataVersion

Returns

DataConstr

Implementation of

ICert.toData

Defined in

src/ledger/certs/CertPoolRegistration.ts:31


toJson()

toJson(): object

Returns

object

certType

certType: "PoolRegistration"

poolParams

poolParams: object

poolParams.cost

cost: string

poolParams.margin

margin: number

poolParams.metadata

metadata: undefined | object

poolParams.operator

operator: string

poolParams.owners

owners: string[]

poolParams.pledge

pledge: string

poolParams.relays

relays: (object | object | object)[]

poolParams.rewardAccount

rewardAccount: StakeAddress<StakeAddressType>

poolParams.vrfKeyHash

vrfKeyHash: string

Defined in

src/ledger/certs/CertPoolRegistration.ts:90


fromCborObj()

static fromCborObj(cbor): CertPoolRegistration

Parameters

cbor: CborObj

Returns

CertPoolRegistration

Defined in

src/ledger/certs/CertPoolRegistration.ts:75