waitForTerminateService
waitForTerminateService(
options):Promise<{fwssTerminated:true;serviceTerminationEpoch:bigint;terminationTxHash:""|`0x${string}`; }>
Defined in: packages/synapse-core/src/sp/terminate-service.ts:308
Wait for the data set termination status.
GET /pdp/data-sets/{dataSetId}/terminate
Polls until the provider’s transaction confirms and the termination epoch is recorded.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | waitForTerminateService.OptionsType |
Returns
Section titled “Returns”Promise<{ fwssTerminated: true; serviceTerminationEpoch: bigint; terminationTxHash: "" | `0x${string}`; }>
Status waitForTerminateService.OutputType