Parameters
The ledger sequence number after which the events is to be fetched
The list of filters for the returned events. A maximum of 5 filters are allowed per request
A list of event type (system, contract, or diagnostic) used to filter events. If omitted, all event types will be included
A list of contract ids to query for events. A maximum of 5 contract IDs are allowed per request
A list of topic filters. A maximum of 5 filters are allowed per request. Supports "**" wildcard pattern for matching
The pagination object which contains the following fields:
When provided it excludes the element with an ID matching the cursor and only includes elements appearing after it in the response
The maximum number of records returned. By default, it is set to 100
Returns
A result object with the following field:
An array of event objects emitted in the specified ledger range
The type of event, for example 'contract'
The ledger number in which the event occurred
The timestamp when the ledger was closed, in ISO 8601 format
The unique identifier of the contract associated with the event
A unique identifier for the event within the ledger
The index of the operation within the transaction that emitted this event
The index of the transaction within the ledger that emitted this event
The transaction hash that emitted the event
(DEPRECATED) Indicates whether the event was emitted from a successful contract call
An array of base64-encoded topic values related to the event. . Supports "**" wildcard pattern for matching
The emitted body value of the event as a base64-encoded XDR
A pagination token that can be used to request the next page of results
The latest observed ledger number by the node at the time of response generation
The oldest ledger in the response range
The close time of the latest ledger as a Unix timestamp string
The close time of the oldest ledger as a Unix timestamp string