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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | CalculateBufferAmountFromStateOptions | Resolved account state and requested buffer duration |
Returns
Section titled “Returns”bigint
Buffer funding in token base units