EventFilter class
Event filter for the getEvents request. See: https://soroban.stellar.org/api/methods/getEvents
Constructors
-
EventFilter({String? type, List<
String> ? contractIds, List<TopicFilter> ? topics})
Properties
-
contractIds
↔ List<
String> ? -
(optional) List of contract ids to query for events.
If omitted, return events for all contracts.
Maximum 5 contract IDs are allowed per request.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topics
↔ List<
TopicFilter> ? -
(optional) List of topic filters. If omitted, query for all events.
If multiple filters are specified, events will be included if they match any of the filters.
Maximum 5 filters are allowed per request.
getter/setter pair
- type ↔ String?
-
(optional) A comma separated list of event types (system, contract, or diagnostic)
used to filter events. If omitted, all event types are included.
getter/setter pair
Methods
-
getRequestArgs(
) → Map< String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited