Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:80

account: AccountType

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:86

Resolved payer state shared by all contexts.


optional bufferEpochs?: bigint

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:94

Safety margin for transaction execution delay. Defaults to DEFAULT_BUFFER_EPOCHS.


contexts: readonly ContextType[]

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:82

Every data-set context that will receive the upload. Must not be empty.


optional epochsPerMonth?: bigint

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:88

Epochs per month. Defaults to EPOCHS_PER_MONTH (86400).


optional extraRunwayEpochs?: bigint

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:92

Extra runway beyond the required lockup. Defaults to DEFAULT_RUNWAY_EPOCHS.


optional lockupEpochs?: bigint

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:90

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


priceList: OutputType

Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:84

Canonical warm storage price list.