Skip to content

OutputType

OutputType = OutputType & object

Defined in: packages/synapse-core/src/warm-storage/get-upload-costs.ts:52

Upload costs calculated from the resolved single-context state.

account: object

Payer account state at the pricing snapshot epoch, as used to calculate depositNeeded. The available balance after depositing is availableFunds + depositNeeded - debt.

availableFunds: bigint

Funds available after settling the account at the pricing snapshot epoch.

debt: bigint

Accrued account debt at the pricing snapshot epoch.

runwayInEpochs: bigint

Epochs until the account enters deficit; maxUint256 when nothing is being spent.