getActivePieceCount
getActivePieceCount(
client,options):Promise<bigint>
Defined in: packages/synapse-core/src/pdp-verifier/get-active-piece-count.ts:27
Get the active piece count for a data set (non-zero leaf count)
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use to get the active piece count. |
options | OptionsType | getActivePieceCount.OptionsType |
Returns
Section titled “Returns”Promise<bigint>
The active piece count for the data set getActivePieceCount.OutputType