Skip to content

TerminateServiceOptions

Defined in: packages/synapse-sdk/src/types.ts:676

Options for terminating a data set service

dataSetId: bigint

Defined in: packages/synapse-sdk/src/types.ts:678

The ID of the data set to terminate


optional onSubmitted?: (txHash) => void

Defined in: packages/synapse-sdk/src/types.ts:691

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 after confirmation.

ParameterType
txHash`0x${string}`

void


optional skipProvider?: boolean

Defined in: packages/synapse-sdk/src/types.ts:684

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.