GetEventsRequest class
Holds the request parameters for getEvents. See: https://soroban.stellar.org/api/methods/getEvents
Constructors
-
GetEventsRequest(int? startLedger, {List<
EventFilter> ? filters, List<PaginationOptions> ? paginationOptions})
Properties
-
filters
↔ List<
EventFilter> ? -
List of filters for the returned events. Events matching any of the filters are included.
To match a filter, an event must match both a contractId and a topic.
Maximum 5 filters are allowed per request.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
paginationOptions
↔ List<
PaginationOptions> ? -
Pagination
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startLedger ↔ int?
-
ledger sequence number to fetch events after (inclusive).
The getEvents method will return an error if startLedger is less than the oldest ledger stored in this node,
or greater than the latest ledger seen by this node.
If a cursor is included in the request, startLedger must be omitted.
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