Skip to main content

EventSource

For the complete documentation index, see llms.txt

@midnight/ledger v8.1.2


@midnight/ledger / EventSource

Type Alias: EventSource

type EventSource = {
logicalSegment: number;
physicalSegment: number;
transactionHash: TransactionHash;
};

Where an event originated from

Properties​

logicalSegment​

logicalSegment: number;

The logical event segment, that is, during which segment's execution the event was emitted.


physicalSegment​

physicalSegment: number;

The physical event segment, that is, the segment of the transaction this event's trigger is contained in.


transactionHash​

transactionHash: TransactionHash;

The hash of the originating transaction.