Skip to main content

Function: getDepthForSize()

getDepthForSize(size, encryption?, erasureCodeLevel?): number

Defined in: bee-js/src/utils/stamps.ts:62

Utility function that calculates the depth required for a postage batch to achieve the specified effective size

Parameters​

size​

Size

The effective size of the postage batch

encryption?​

boolean

erasureCodeLevel?​

RedundancyLevel

Returns​

number

💬 Get Help