UNPKG

@fairmint/canton-node-sdk

Version:
27 lines 964 B
import { type LedgerJsonApiClient } from '../../clients'; import { type Command, type DisclosedContract } from '../../clients/ledger-json-api/schemas'; export declare class TransactionBatch { private readonly client; private readonly actAs; private readonly readAs; private disclosedContracts; private commands; constructor(client: LedgerJsonApiClient, actAs: string[], readAs?: string[]); addDisclosedContracts(contracts: DisclosedContract[]): this; addCommand(command: Command): this; addCommands(commands: Command[]): this; addBuiltCommand(input: { command: Command; disclosedContracts?: DisclosedContract[]; }): this; clear(): this; private prepareSubmitParams; submitAndWaitForTransactionTree(): Promise<{ updateId: string; }>; submitAndWait(): Promise<{ updateId: string; }>; asyncSubmit(): Promise<void>; } //# sourceMappingURL=TransactionBatch.d.ts.map