Get Events Request
@Serializable
Request for JSON-RPC method getEvents.
Fetches a filtered list of events emitted by a given ledger range.
See also
Constructors
Link copied to clipboard
constructor(startLedger: Long? = null, endLedger: Long? = null, filters: List<GetEventsRequest.EventFilter>, pagination: GetEventsRequest.Pagination? = null)
Types
Link copied to clipboard
@Serializable
Filter configuration for event matching.
Link copied to clipboard
Type of event to filter.
Link copied to clipboard
Pagination options for controlling the number of results returned.
Properties
Link copied to clipboard
List of event filters to match against. Events matching any filter will be included. Maximum 5 filters allowed. Can be empty to match all events.
Link copied to clipboard
Optional pagination configuration for limiting and controlling result sets.
Link copied to clipboard
Ledger sequence number to start fetching events from (inclusive). Required when pagination.cursor is null. Must be omitted when cursor is provided.