calculateRunwayAmountFromState
calculateRunwayAmountFromState(
options):bigint
Defined in: packages/synapse-core/src/utils/calculate-upload-costs.ts:21
Calculate extra account funding for the requested post-upload runway.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | CalculateRunwayAmountFromStateOptions | Projected account rate and requested runway duration |
Returns
Section titled “Returns”bigint
Runway funding in token base units