command
command:
| {
CreateCommand: {
createArguments: z.ZodRecord<
z.ZodString,
z.ZodType<
| string
| number
| boolean
| (string | number | boolean | (...)[] | { [key: string]: any } | null)[]
| { [key: string]: any }
| null,
unknown,
z.core.$ZodTypeInternals<
| string
| number
| boolean
| (string | number | boolean | (...)[] | { [key: ...]: ... } | null)[]
| { [key: string]: any }
| null,
unknown,
>,
>,
>;
templateId: string;
};
}
| {
ExerciseCommand: {
choice: string;
choiceArgument: z.ZodRecord<
z.ZodString,
z.ZodType<
| string
| number
| boolean
| (string | number | boolean | (...)[] | { [key: string]: any } | null)[]
| { [key: string]: any }
| null,
unknown,
z.core.$ZodTypeInternals<
| string
| number
| boolean
| (string | number | boolean | (...)[] | { [key: ...]: ... } | null)[]
| { [key: string]: any }
| null,
unknown,
>,
>,
>;
contractId: string;
templateId: string;
};
}
Return type for all buildCreate*Command functions. Contains a command and its associated disclosed contracts for Canton cross-domain interactions.