Function: getAmountForDuration()
getAmountForDuration(
duration,pricePerBlock,blockTime):bigint
Defined in: bee-js/src/utils/stamps.ts:125
Get the postage batch amount required for a given duration.
Parameters
duration
A duration object representing the duration of the storage.
pricePerBlock
number
The price per block in PLUR.
blockTime
number
The block time in seconds.
Returns
bigint