Skip to content

AccountType

AccountType = object

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

Resolved payer state shared by all upload contexts.

availableFunds: bigint

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

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


currentLockupRate: bigint

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

Current aggregate payment-rail lockup rate.


debt: bigint

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

Accrued account debt at the pricing snapshot epoch.


fwssMaxApproved: boolean

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

Whether FWSS already has the required maximum operator approval.


runwayInEpochs: bigint

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

Current account runway returned by resolveAccountState.