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.
Type Declaration
Section titled “Type Declaration”account
Section titled “account”account:
object
Payer account state at the pricing snapshot epoch, as used to calculate
depositNeeded. The available balance after depositing is
availableFunds + depositNeeded - debt.
account.availableFunds
Section titled “account.availableFunds”availableFunds:
bigint
Funds available after settling the account at the pricing snapshot epoch.
account.debt
Section titled “account.debt”debt:
bigint
Accrued account debt at the pricing snapshot epoch.
account.runwayInEpochs
Section titled “account.runwayInEpochs”runwayInEpochs:
bigint
Epochs until the account enters deficit; maxUint256 when nothing is being spent.