# TerminateServiceResult

Defined in: [packages/synapse-sdk/src/types.ts:686](https://github.com/FilOzone/synapse-sdk/blob/1a9447e47b3ce068db6736df02803453e0987905/packages/synapse-sdk/src/types.ts#L686)

Result of a data set service termination

## Properties

### dataSetId

> **dataSetId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:690](https://github.com/FilOzone/synapse-sdk/blob/1a9447e47b3ce068db6736df02803453e0987905/packages/synapse-sdk/src/types.ts#L690)

The data set ID

***

### endEpoch

> **endEpoch**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:696](https://github.com/FilOzone/synapse-sdk/blob/1a9447e47b3ce068db6736df02803453e0987905/packages/synapse-sdk/src/types.ts#L696)

Epoch at which the PDP payment rail ends and the service stops.
Approximately the current epoch for provider-relayed termination,
the end of the lockup period for on-chain termination.

***

### txHash?

> `optional` **txHash?**: `` `0x${string}` ``

Defined in: [packages/synapse-sdk/src/types.ts:688](https://github.com/FilOzone/synapse-sdk/blob/1a9447e47b3ce068db6736df02803453e0987905/packages/synapse-sdk/src/types.ts#L688)

Transaction hash. Undefined when the service was already terminated without a provider transaction.