TerminateServiceOptions
Defined in: packages/synapse-sdk/src/types.ts:643
Options for terminating a data set service
Properties
Section titled “Properties”dataSetId
Section titled “dataSetId”dataSetId:
bigint
Defined in: packages/synapse-sdk/src/types.ts:645
The ID of the data set to terminate
onSubmitted?
Section titled “onSubmitted?”
optionalonSubmitted?: (txHash) =>void
Defined in: packages/synapse-sdk/src/types.ts:653
Called when the termination transaction is submitted (before on-chain confirmation)
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
txHash | `0x${string}` |
Returns
Section titled “Returns”void
skipProvider?
Section titled “skipProvider?”
optionalskipProvider?: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.