ListEventsResponse

Response message for LedgerService.ListEvents.

Every frame carries a watermark with a safe resume cursor. A frame with event set delivers one matching item; a frame without it reports scan progress or terminal completion. Watermarks never regress in the requested ordering but may repeat.

end is set exactly once, on the final frame of a successful stream. For QUERY_END_REASON_ITEM_LIMIT, that frame also carries the final item. For every other end reason, the final frame has no event payload.

Properties

Link copied to clipboard
abstract val end: QueryEnd

Set exactly once, on the final frame of a successful query stream.

Link copied to clipboard
abstract val event: Event

One matching event. Its ledger position -- containing checkpoint, emitting transaction digest and offset, and index within that transaction's event list -- is reported by the corresponding fields on Event.

Link copied to clipboard

Returns the field-presence view for this ListEventsResponse instance.

Link copied to clipboard
abstract val watermark: Watermark

Progress watermark as of this frame. Present on every frame. A ScanLimit terminal watermark may repeat the previous frame's cursor when its authoritative scan frontier was already emitted.

Functions

Link copied to clipboard
fun ListEventsResponse.copy(body: <Error class: unknown class>.() -> Unit = {}): ListEventsResponse

Copies the original message, including unknown fields.