@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
17 lines (16 loc) • 737 B
TypeScript
import { CreatedEvent } from "./CreatedEvent";
import { ArchivedEvent } from "./ArchivedEvent";
/**
* An event in the flat transaction stream can either be the creation
* or the archiving of a contract.
*
* In the transaction service the events are restricted to the events
* visible for the parties specified in the transaction filter. Each
* event message type below contains a ``witnessParties`` field which
* indicates the subset of the requested parties that can see the event
* in question. In the flat transaction stream you'll only receive
* events that have witnesses.
*
* Uses the `eventType` string type tag to differentiate between types in the union.
*/
export declare type Event = ArchivedEvent | CreatedEvent;