UNPKG

@digitalasset/daml-ledger

Version:
46 lines (45 loc) 1.29 kB
import { Transaction } from "./Transaction"; /** * Example: * * ``` * { * transaction: { * commandId: 'some-command-id', * effectiveAt: { * seconds: 1554382900 * nanoseconds: 0 * }, * events: [ * { * eventType: 'created', * eventId: 'some-event-id', * contractId: 'some-contract-id', * templateId: { * packageId: 'my-package-id', * moduleName: 'SomeModule', * entityName: 'SomeTemplate' * }, * arguments: { * fields: { * someKey: { valueType: 'bool', bool: true } * } * }, * witnessParties: [ 'Alice', 'Bob' ] * } * ], * offset: '42', * transactionId: 'some-tx-id', * workflowId: 'some-workflow-id' * } * } * ``` * * To express values in a more concise way, you can have a look at the {@link ValueHelpers}. */ export interface SubmitAndWaitForTransactionResponse { /** * The flat transaction that resulted from the submitted command. */ transaction: Transaction; }