UNPKG

@fairmint/canton-node-sdk

Version:
83 lines 2.9 kB
/** * Submit a batch of reassignment commands and wait for the reassignment response * * @example * ```typescript * const result = await client.submitAndWaitForReassignment({ * reassignmentCommands: { * commandId: 'unique-command-id', * submitter: 'party1', * commands: [assignCommand, unassignCommand] * } * }); * ```; * * @param reassignmentCommands - Reassignment commands to submit * @param eventFormat - Event format (optional) */ export declare const SubmitAndWaitForReassignment: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ reassignmentCommands: { commandId: string; submitter: string; commands: any[]; workflowId?: string | undefined; userId?: string | undefined; submissionId?: string | undefined; }; eventFormat?: any; }, { reassignment: { updateId: string; offset: number; events: ({ JsAssignmentEvent: { source: string; target: string; reassignmentId: string; submitter: string; reassignmentCounter: number; createdEvent: { offset: number; nodeId: number; contractId: string; templateId: string; contractKey: string | null; createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>; createdEventBlob: string; interfaceViews: string[]; witnessParties: string[]; signatories: string[]; observers: string[]; createdAt: string; packageName: string; implementedInterfaces?: string[] | undefined; }; }; } | { JsUnassignedEvent: { value: { offset: number; nodeId: number; contractId: string; templateId: string; source: string; target: string; reassignmentId: string; submitter: string; reassignmentCounter: number; packageName: string; }; }; })[]; recordTime: string; commandId?: string | undefined; workflowId?: string | undefined; traceContext?: { traceId?: string | undefined; spanId?: string | undefined; parentSpanId?: string | undefined; metadata?: Record<string, string> | undefined; } | undefined; }; }>; //# sourceMappingURL=submit-and-wait-for-reassignment.d.ts.map