getBlockchainSizeStats method

Future<BlockchainSizeStatsRes> getBlockchainSizeStats({
  1. CallOptions? options,
})

Returns a BlockchainSizeStatsRes 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<BlockchainSizeStatsRes> getBlockchainSizeStats({
  CallOptions? options,
}) async {
  final BlockchainSizeStatsReq request = BlockchainSizeStatsReq();
  final BlockchainSizeStatsRes response =
      await genusNetworkMetricsStub.getBlockchainSizeStats(
    request,
    options: options,
  );
  return response;
}