Skip to content

ParamsType

ParamsType = object

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:8

dataSetLeafCount: bigint

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:12

Aggregate leaf count reported by PDP Verifier. 0n for new data sets.


optional epochsPerMonth?: bigint

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:16

Epochs per month. Defaults to EPOCHS_PER_MONTH (86400).


isNewDataSet: boolean

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:20

Whether a new dataset is being created (vs adding to existing).


optional lockupEpochs?: bigint

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:18

Lockup period in epochs. Defaults to priceList.lockups.defaultLockupPeriod.


pieceSizes: readonly bigint[]

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:10

Exact raw payload size of every piece added by this operation, in bytes.


priceList: OutputType

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:14

Canonical warm storage price list.


withCDN: boolean

Defined in: packages/synapse-core/src/warm-storage/calculate-additional-lockup-required.ts:22

Whether CDN is enabled for this dataset.