@fairmint/canton-node-sdk
Version:
Canton Node SDK
24 lines • 1.33 kB
TypeScript
import { z } from 'zod';
/** Parameters for getting active contracts. */
export declare const GetActiveContractsParamsSchema: z.ZodObject<{
activeAtOffset: z.ZodOptional<z.ZodNumber>;
limit: z.ZodOptional<z.ZodNumber>;
streamIdleTimeoutMs: z.ZodOptional<z.ZodNumber>;
parties: z.ZodOptional<z.ZodArray<z.ZodString>>;
templateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
verbose: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
/** Parameters for getting connected synchronizers. */
export declare const GetConnectedSynchronizersParamsSchema: z.ZodObject<{
party: z.ZodString;
participantId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
/** Parameters for getting ledger end. */
export declare const GetLedgerEndParamsSchema: z.ZodObject<{}, z.core.$strip>;
/** Parameters for getting latest pruned offsets. */
export declare const GetLatestPrunedOffsetsParamsSchema: z.ZodObject<{}, z.core.$strip>;
export type GetActiveContractsParams = z.infer<typeof GetActiveContractsParamsSchema>;
export type GetConnectedSynchronizersParams = z.infer<typeof GetConnectedSynchronizersParamsSchema>;
export type GetLedgerEndParams = z.infer<typeof GetLedgerEndParamsSchema>;
export type GetLatestPrunedOffsetsParams = z.infer<typeof GetLatestPrunedOffsetsParamsSchema>;
//# sourceMappingURL=state.d.ts.map