TradeStatisticsService class
A service that handles the retrieval of trade statistics from the Haveno gRPC API.
The TradeStatisticsClient
class provides functionality for fetching trade
statistics data from the Haveno server. It communicates via the Haveno gRPC
service and uses the HavenoChannel to make requests and receive responses.
This class also uses the GrpcErrorHandler
mixin to handle potential gRPC errors.
Constructors
- TradeStatisticsService()
- Constructs a TradeStatisticsService with the given HavenoChannel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- havenoChannel → HavenoChannel
-
The Haveno client used to communicate with the Haveno gRPC server.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getTradeStatistics(
) → Future< List< TradeStatistics3> ?> - Retrieves trade statistics from the Haveno gRPC server.
-
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