Skip to content

pollForDeletePieceStatus

function pollForDeletePieceStatus(client, options): Promise<TransactionReceipt>;

Defined in: packages/synapse-core/src/warm-storage/pieces.ts:95

Poll for the delete piece status.

Waits for the transaction to be mined and then polls for the transaction receipt.

ParameterTypeDescription
clientClient<Transport, Chain>The client to use to poll for the delete piece status.
optionsPollForDeletePieceStatusOptionsThe options for the poll for the delete piece status.

Promise<TransactionReceipt>