PriceService constructor
PriceService()
Creates a new PriceService instance.
The constructor accepts an instance of HavenoChannel, which is used to perform gRPC operations such as fetching market prices. The client should already be connected to the Haveno gRPC server before calling any methods.
Example:
final priceClient = PriceService(havenoChannel);
Throws:
- DaemonNotConnectedException if the Haveno client is not connected.
Implementation
PriceService();