# TerminateServiceOptions

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

Options for terminating a data set service

## Properties

### dataSetId

> **dataSetId**: `bigint`

Defined in: [packages/synapse-sdk/src/types.ts:666](https://github.com/FilOzone/synapse-sdk/blob/aaa98045b003ec23f4318ba9a3032a434e5a20c9/packages/synapse-sdk/src/types.ts#L666)

The ID of the data set to terminate

***

### onSubmitted?

> `optional` **onSubmitted?**: (`txHash`) => `void`

Defined in: [packages/synapse-sdk/src/types.ts:679](https://github.com/FilOzone/synapse-sdk/blob/aaa98045b003ec23f4318ba9a3032a434e5a20c9/packages/synapse-sdk/src/types.ts#L679)

Called when the termination transaction is submitted (before on-chain confirmation).
For provider-relayed termination this is Curio's wait-key hash and may differ
from the included on-chain hash after replace-by-fee. Prefer
[TerminateServiceResult.confirmedTxHash](/reference/filoz/synapse-sdk/synapse/interfaces/terminateserviceresult/#confirmedtxhash) after confirmation.

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `txHash` | `` `0x${string}` `` |

#### Returns

`void`

***

### skipProvider?

> `optional` **skipProvider?**: `boolean`

Defined in: [packages/synapse-sdk/src/types.ts:672](https://github.com/FilOzone/synapse-sdk/blob/aaa98045b003ec23f4318ba9a3032a434e5a20c9/packages/synapse-sdk/src/types.ts#L672)

Submit the termination transaction directly from the signer's wallet
instead of relaying through the service provider. Needs no provider
cooperation, but the service runs to the end of the lockup period.