Skip to content

calculateBufferAmountFromState

calculateBufferAmountFromState(options): bigint

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

Calculate the account funding buffer for transaction execution delay.

ParameterTypeDescription
optionsCalculateBufferAmountFromStateOptionsResolved account state and requested buffer duration

bigint

Buffer funding in token base units