Skip to content

calculateRunwayAmountFromState

calculateRunwayAmountFromState(options): bigint

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

Calculate extra account funding for the requested post-upload runway.

Parameter Type Description
options CalculateRunwayAmountFromStateOptions Projected account rate and requested runway duration

bigint

Runway funding in token base units