GetEventsRequest class Null safety
Holds the request parameters for getEvents. See: https://soroban.stellar.org/api/methods/getEvents
Constructors
-
GetEventsRequest(String? 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.
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
paginationOptions
↔ List<
PaginationOptions> ? -
Pagination
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startLedger ↔ String?
-
Stringified 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.
read / write
Methods
-
getRequestArgs(
) → Map< String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited