Skip to content

TerminateServiceStatusPendingSchema

const TerminateServiceStatusPendingSchema: ZodObject<{ fwssTerminated: ZodLiteral<false>; serviceTerminationEpoch: ZodNull; terminationTxHash: ZodUnion<readonly [ZodCustom<`0x${string}`, `0x${string}`>, ZodLiteral<"">]>; txStatus: ZodUnion<readonly [ZodLiteral<"">, ZodLiteral<"pending">, ZodLiteral<"confirmed">]>; txSuccess: ZodNullable<ZodBoolean>; }, $strip>

Defined in: packages/synapse-core/src/sp/terminate-service.ts:246

Schema for the termination status while the provider’s transaction is pending. The hash is empty until the provider’s relay task sends the transaction.