# TerminateServiceResult

Defined in: [packages/synapse-sdk/src/types.ts:664](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L664)

Result of a data set service termination

## Properties

### dataSetId

> **dataSetId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:668](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L668)

The data set ID

***

### endEpoch

> **endEpoch**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:674](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L674)

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:666](https://github.com/FilOzone/synapse-sdk/blob/d2725be576fc57fac19e7c64cd8e004e0cec85d3/packages/synapse-sdk/src/types.ts#L666)

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