Open Cap Table Protocol Canton SDK - v0.2.84
    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.ZodUnion<
                            readonly [
                                z.ZodString,
                                z.ZodNumber,
                                z.ZodBoolean,
                                z.ZodNull,
                                z.ZodRecord<z.ZodString, z.ZodAny>,
                                z.ZodArray<z.ZodAny>,
                            ],
                        >,
                    >;
                    templateId: string;
                };
            }
            | {
                ExerciseCommand: {
                    choice: string;
                    choiceArgument: z.ZodRecord<
                        z.ZodString,
                        z.ZodUnion<
                            readonly [
                                z.ZodString,
                                z.ZodNumber,
                                z.ZodBoolean,
                                z.ZodNull,
                                z.ZodRecord<z.ZodString, z.ZodAny>,
                                z.ZodArray<z.ZodAny>,
                            ],
                        >,
                    >;
                    contractId: string;
                    templateId: string;
                };
            };
        disclosedContracts: {
            contractId: string;
            createdEventBlob: string;
            synchronizerId: string;
            templateId: string;
        }[];
    }
    Index

    Properties

    command:
        | {
            CreateCommand: {
                createArguments: z.ZodRecord<
                    z.ZodString,
                    z.ZodUnion<
                        readonly [
                            z.ZodString,
                            z.ZodNumber,
                            z.ZodBoolean,
                            z.ZodNull,
                            z.ZodRecord<z.ZodString, z.ZodAny>,
                            z.ZodArray<z.ZodAny>,
                        ],
                    >,
                >;
                templateId: string;
            };
        }
        | {
            ExerciseCommand: {
                choice: string;
                choiceArgument: z.ZodRecord<
                    z.ZodString,
                    z.ZodUnion<
                        readonly [
                            z.ZodString,
                            z.ZodNumber,
                            z.ZodBoolean,
                            z.ZodNull,
                            z.ZodRecord<z.ZodString, z.ZodAny>,
                            z.ZodArray<z.ZodAny>,
                        ],
                    >,
                >;
                contractId: string;
                templateId: string;
            };
        }
    disclosedContracts: {
        contractId: string;
        createdEventBlob: string;
        synchronizerId: string;
        templateId: string;
    }[]