waitForDeletePieceStatus
waitForDeletePieceStatus(
client,options):Promise<TransactionReceipt>
Defined in: packages/synapse-core/src/warm-storage/pieces.ts:105
Wait for the delete piece status.
Waits for the transaction to be mined and then polls for the transaction receipt.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use to wait for the delete piece status. |
options | WaitForDeletePieceStatusOptions | The options for the wait for the delete piece status. |
Returns
Section titled “Returns”Promise<TransactionReceipt>