@fairmint/canton-node-sdk
Version:
Canton Node SDK
20 lines • 749 B
TypeScript
import { type SubmitAndWaitForTransactionTreeResponse } from '../../clients/ledger-json-api/operations';
export interface CreatedTreeEventValue {
contractId: string;
templateId: string;
contractKey?: unknown;
createArgument?: unknown;
createdEventBlob?: string;
witnessParties?: string[];
signatories?: string[];
observers?: string[];
createdAt?: string;
packageName?: string;
}
export interface CreatedTreeEventWrapper {
CreatedTreeEvent: {
value: CreatedTreeEventValue;
};
}
export declare function findCreatedEventByTemplateId(response: SubmitAndWaitForTransactionTreeResponse, expectedTemplateId: string): CreatedTreeEventWrapper | undefined;
//# sourceMappingURL=findCreatedEvent.d.ts.map