OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:80
Properties
Section titled “Properties”account
Section titled “account”account:
AccountType
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:86
Resolved payer state shared by all contexts.
bufferEpochs?
Section titled “bufferEpochs?”
optionalbufferEpochs?: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
Section titled “contexts”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.
epochsPerMonth?
Section titled “epochsPerMonth?”
optionalepochsPerMonth?:bigint
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:88
Epochs per month. Defaults to EPOCHS_PER_MONTH (86400).
extraRunwayEpochs?
Section titled “extraRunwayEpochs?”
optionalextraRunwayEpochs?:bigint
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:92
Extra runway beyond the required lockup. Defaults to DEFAULT_RUNWAY_EPOCHS.
lockupEpochs?
Section titled “lockupEpochs?”
optionallockupEpochs?:bigint
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:90
Lockup period in epochs. Defaults to priceList.lockups.defaultLockupPeriod.
priceList
Section titled “priceList”priceList:
OutputType
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:84
Canonical warm storage price list.