Skip to content

TerminateServiceResult

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

Result of a data set service termination

optional confirmedTxHash?: `0x${string}`

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

Hash included on chain once confirmed. Differs from txHash when Curio replaced the original send by fee. Omitted when the SP does not report it (older Curio) or when no termination tx was sent. For explorers and receipt lookups use confirmedTxHash ?? txHash.


dataSetId: bigint

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

The data set ID


endEpoch: bigint

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

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.


optional txHash?: `0x${string}`

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

Original wait-key transaction hash. Undefined when the service was already terminated without a provider transaction. May differ from the included on-chain hash after replace-by-fee. Keep using this for Curio status polling / resume URLs.