| dataSetLive |
Check if a data set is live |
| dataSetLiveCall |
Create a call to the dataSetLive function |
| findPieceIdsByCid |
Find one bounded page of piece IDs matching a PieceCID in a data set. |
| findPieceIdsByCidCall |
Create a call to the findPieceIdsByCid function for use with the multicall or readContract function. |
| getActivePieceCount |
Get the active piece count for a data set (non-zero leaf count) |
| getActivePieceCountCall |
Create a call to the getActivePieceCount function |
| getActivePiecesByCursor |
Get one bounded page of active pieces using efficient piece-ID cursors. |
| getActivePiecesByCursorCall |
Create a call to the getActivePiecesByCursor contract function for use with Viem’s multicall or readContract functions. |
| getContract |
Get the PDP Verifier contract |
| getDataSetLeafCount |
Get the leaf count for a data set |
| getDataSetLeafCountCall |
Create a call to the getDataSetLeafCount function |
| getDataSetLeafCounts |
Get the PDP leaf counts for one or more data sets via a single multicall. |
| getDataSetListener |
Get the data set listener contract address (record keeper) |
| getDataSetListenerCall |
Create a call to the getDataSetListener function |
| getDataSetStorageProvider |
Get the storage provider addresses for a data set |
| getDataSetStorageProviderCall |
Create a call to the getDataSetStorageProvider function |
| getNextChallengeEpoch |
Get next challenge epoch |
| getNextChallengeEpochCall |
Create a call to the getNextChallengeEpoch function for use with the multicall or readContract function. |
| getNextPieceId |
Get the next piece ID for a data set |
| getNextPieceIdCall |
Create a call to the getNextPieceId function |
| getPieces |
Get one bounded page of visible pieces for a data set. |
| getScheduledRemovals |
Get the scheduled removals for a data set (deduped) |
| getScheduledRemovalsCall |
Create a call to the getScheduledRemovals function |
| parseDataSetListener |
Parse the contract output into a getDataSetListener.OutputType. |
| parseDataSetStorageProvider |
Parse the contract output into a getDataSetStorageProvider.OutputType. |
| parseGetActivePiecesByCursor |
Parse raw getActivePiecesByCursor contract output into a normalized page. |
| parseNextChallengeEpoch |
Parse the contract output into a getNextChallengeEpoch.OutputType. |
| parseScheduledRemovals |
Parse the contract output into a getScheduledRemovals.OutputType. Deduplicates the output. |