Skip to main content

partialProtocolParamsToJson

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / partialProtocolParamsToJson

Function: partialProtocolParamsToJson()

partialProtocolParamsToJson(pp): object

Parameters

pp: Partial<ProtocolParameters>

Returns

object

collateralPercentage?

optional collateralPercentage: CanBeUInteger

committeeTermLimit?

optional committeeTermLimit: CanBeUInteger

costModels

costModels: undefined | object

drepActivityPeriod?

optional drepActivityPeriod: CanBeUInteger

drepDeposit?

optional drepDeposit: CanBeUInteger

drepVotingThresholds?

optional drepVotingThresholds: PParamsDrepVotingThresholds

executionUnitPrices

executionUnitPrices: undefined | object

governanceActionDeposit?

optional governanceActionDeposit: CanBeUInteger

governanceActionValidityPeriod?

optional governanceActionValidityPeriod: CanBeUInteger

maxBlockBodySize?

optional maxBlockBodySize: CanBeUInteger

maxBlockExecutionUnits

maxBlockExecutionUnits: undefined | ExBudgetJson | object

maxBlockHeaderSize?

optional maxBlockHeaderSize: CanBeUInteger

maxCollateralInputs?

optional maxCollateralInputs: CanBeUInteger

maxTxExecutionUnits

maxTxExecutionUnits: undefined | ExBudgetJson | object

maxTxSize?

optional maxTxSize: CanBeUInteger

maxValueSize?

optional maxValueSize: CanBeUInteger

minCommitteSize?

optional minCommitteSize: CanBeUInteger

minPoolCost?

optional minPoolCost: CanBeUInteger

minfeeRefScriptCostPerByte?

optional minfeeRefScriptCostPerByte: Rational

monetaryExpansion

monetaryExpansion: undefined | number

poolPledgeInfluence

poolPledgeInfluence: undefined | number

poolRetireMaxEpoch?

optional poolRetireMaxEpoch: CanBeUInteger

poolVotingThresholds?

optional poolVotingThresholds: PParamsPoolVotingThresholds

protocolVersion?

optional protocolVersion: IProtocolVerision

Deprecated

protocolVersion removed in conway

stakeAddressDeposit?

optional stakeAddressDeposit: CanBeUInteger

stakePoolDeposit?

optional stakePoolDeposit: CanBeUInteger

stakePoolTargetNum?

optional stakePoolTargetNum: CanBeUInteger

treasuryCut

treasuryCut: undefined | number

txFeeFixed?

optional txFeeFixed: CanBeUInteger

txFeePerByte?

optional txFeePerByte: CanBeUInteger

utxoCostPerByte?

optional utxoCostPerByte: CanBeUInteger

Defined in

src/ledger/protocol/ProtocolParameters.ts:552