Open Cap Table Protocol Canton SDK - v0.2.259
    Preparing search index...

    Interface CommandWithDisclosedContracts

    Return type for all buildCreate*Command functions. Contains a command and its associated disclosed contracts for Canton cross-domain interactions.

    interface CommandWithDisclosedContracts {
        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;
                };
            };
        disclosedContracts: {
            contractId: string;
            createdEventBlob: string;
            synchronizerId: string;
            templateId: string;
        }[];
    }
    Index

    Properties

    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;
            };
        }
    disclosedContracts: {
        contractId: string;
        createdEventBlob: string;
        synchronizerId: string;
        templateId: string;
    }[]