getTxoStats method

Future<GetTxoStatsRes> getTxoStats({
  1. CallOptions? options,
})

////////////////////////// Network Metrics

Returns a GetTxoStatsRes object. options is a CallOptions object that can be used to set additional options for the RPC request.

Throws an Exception if an error occurs during the RPC request.

Implementation

Future<GetTxoStatsRes> getTxoStats({
  CallOptions? options,
}) async {
  final GetTxoStatsReq request = GetTxoStatsReq();
  final GetTxoStatsRes response = await genusNetworkMetricsStub.getTxoStats(
    request,
    options: options,
  );
  return response;
}