@fairmint/canton-node-sdk
Version:
Canton Node SDK
22 lines • 890 B
TypeScript
import { z } from 'zod';
/**
* Submit response for async command submission.
*/
export declare const SubmitResponseSchema: z.ZodObject<{}, z.core.$strict>;
/**
* Submit and wait for transaction tree response.
*/
export declare const JsSubmitAndWaitForTransactionTreeResponseSchema: z.ZodObject<{
transactionTree: z.ZodObject<{
updateId: z.ZodString;
commandId: z.ZodOptional<z.ZodString>;
workflowId: z.ZodOptional<z.ZodString>;
effectiveAt: z.ZodString;
offset: z.ZodNumber;
eventsById: z.ZodRecord<z.ZodString, z.ZodAny>;
recordTime: z.ZodString;
}, z.core.$strip>;
}, z.core.$strip>;
export type SubmitResponse = z.infer<typeof SubmitResponseSchema>;
export type JsSubmitAndWaitForTransactionTreeResponse = z.infer<typeof JsSubmitAndWaitForTransactionTreeResponseSchema>;
//# sourceMappingURL=command-responses.d.ts.map