@fairmint/canton-node-sdk
Version:
Canton Node SDK
53 lines • 2.13 kB
TypeScript
/** Prepare an interactive submission transaction for external signing. */
export declare const InteractiveSubmissionPrepare: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{
commands: ({
CreateCommand: {
templateId: string;
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
};
} | {
ExerciseCommand: {
templateId: string;
contractId: string;
choice: string;
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
};
} | {
CreateAndExerciseCommand: {
templateId: string;
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
choice: string;
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
};
} | {
ExerciseByKeyCommand: {
templateId: string;
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
choice: string;
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
};
})[];
commandId: string;
userId: string;
actAs: string[];
readAs: string[];
synchronizerId: string;
disclosedContracts?: {
contractId: string;
templateId: string;
synchronizerId: string;
createdEventBlob?: string | undefined;
metadata?: unknown;
}[] | undefined;
verboseHashing?: boolean | undefined;
packageIdSelectionPreference?: {
packageId?: string | undefined;
packageName?: string | undefined;
}[] | undefined;
}, {
preparedTransactionHash: string;
preparedTransaction?: string | undefined;
hashingSchemeVersion?: "HASHING_SCHEME_VERSION_UNSPECIFIED" | "HASHING_SCHEME_VERSION_V2" | undefined;
hashingDetails?: string | undefined;
}>;
//# sourceMappingURL=prepare.d.ts.map