Skip to content

TerminateServiceOptions

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

Options for terminating a data set service

dataSetId: bigint

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

The ID of the data set to terminate


optional onSubmitted?: (txHash) => void

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

Called when the termination transaction is submitted (before on-chain confirmation)

ParameterType
txHash`0x${string}`

void


optional skipProvider?: boolean

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

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.