Skip to content

calculateBufferAmountFromState

calculateBufferAmountFromState(options): bigint

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

Calculate the account funding buffer for transaction execution delay.

Parameter Type Description
options CalculateBufferAmountFromStateOptions Resolved account state and requested buffer duration

bigint

Buffer funding in token base units